cubetiq-parent-module/build.gradle

31 lines
699 B
Groovy
Raw Permalink 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
}
2020-07-03 11:01:17 +07:00
group 'com.cubetiqs.libra'
2020-07-03 10:26:09 +07:00
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 {
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)
}
}
}
}