plugins { id 'java' id 'org.springframework.boot' version '3.1.3' id 'io.spring.dependency-management' version '1.1.3' } group = 'inc.sdt.controlcentermanagement' version = '0.0.3' java { sourceCompatibility = '17' } def codeArtifactToken = "aws codeartifact get-authorization-token --domain sdt --domain-owner 003960268191 --region ap-northeast-1 --query authorizationToken --output text".execute().text repositories { maven { url 'https://sdt-003960268191.d.codeartifact.ap-northeast-1.amazonaws.com/maven/sdt-development/' credentials { username "aws" password codeArtifactToken } // url 'http://192.168.1.232:8081/repository/maven-releases/' // allowInsecureProtocol true } mavenCentral() } dependencies { implementation("org.springframework.boot:spring-boot-starter-web") { exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat" } implementation("org.springframework.boot:spring-boot-starter-undertow") implementation("org.springframework.boot:spring-boot-starter-data-mongodb") implementation("org.springframework.boot:spring-boot-starter-amqp") testImplementation ("org.springframework.boot:spring-boot-starter-test") } tasks.named('test') { useJUnitPlatform() }