cubetiq-parent-module/build.gradle

34 lines
809 B
Groovy
Raw Normal View History

2020-07-03 10:26:09 +07:00
plugins {
id 'java'
2020-07-03 10:36:35 +07:00
id 'maven'
2020-07-03 10:26:09 +07:00
}
group 'com.cubetiqs'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
2020-07-03 10:36:35 +07:00
url "${nexusUrl}/repository/maven-public/"
2020-07-03 10:26:09 +07:00
}
}
dependencies {
// import a BOM
implementation platform('org.springframework.boot:spring-boot-dependencies:2.3.0.RELEASE')
testCompile group: 'junit', name: 'junit', version: '4.12'
}
2020-07-03 10:36:35 +07:00
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)
}
}
}
}