cubetiq-parent-module/build.gradle

34 lines
809 B
Groovy

plugins {
id 'java'
id 'maven'
}
group 'com.cubetiqs'
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.0.RELEASE')
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)
}
}
}
}