46 lines
1.1 KiB
Groovy
46 lines
1.1 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.3.0.RELEASE'
|
|
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
|
id 'java'
|
|
id 'maven'
|
|
}
|
|
|
|
group 'com.cubetiqs.libra'
|
|
version '1.0-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "${nexusUrl}/repository/maven-public/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'com.cubetiqs.libra:logging:1.0-20200703.050529-4'
|
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
bootJar {
|
|
enabled = false
|
|
}
|
|
|
|
jar {
|
|
enabled = true
|
|
}
|
|
|
|
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)
|
|
}
|
|
}
|
|
}
|
|
} |