46 lines
1.1 KiB
Groovy
46 lines
1.1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
|
id 'maven'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom 'org.apache.logging.log4j:log4j-bom:2.13.3'
|
|
}
|
|
}
|
|
|
|
group 'com.cubetiqs.libra'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "${nexusUrl}/repository/maven-public/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// import a BOM
|
|
implementation platform('org.springframework.boot:spring-boot-dependencies:2.3.1.RELEASE')
|
|
|
|
implementation 'com.cubetiqs.libra:parent:1.0-20200703.050136-4'
|
|
|
|
implementation 'org.apache.logging.log4j:log4j-api'
|
|
implementation 'org.apache.logging.log4j:log4j-core'
|
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
mavenDeployer {
|
|
repository(url: "${nexusUrl}/repository/maven-releases/") {
|
|
authentication(userName: nexusUsername, password: nexusPassword)
|
|
}
|
|
snapshotRepository(url: "${nexusUrl}/repository/maven-snapshots") {
|
|
authentication(userName: nexusUsername, password: nexusPassword)
|
|
}
|
|
}
|
|
}
|
|
} |