Updated publish gradle libra
This commit is contained in:
parent
484da5b7ac
commit
40818f5b0b
27
build.gradle
27
build.gradle
@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
|
id 'maven'
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'com.cubetiqs'
|
group 'com.cubetiqs'
|
||||||
@ -8,7 +9,7 @@ version '1.0-SNAPSHOT'
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven {
|
maven {
|
||||||
url "https://oss-internal.cubetiqs.com/repository/maven-public/"
|
url "${nexusUrl}/repository/maven-public/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -19,15 +20,15 @@ dependencies {
|
|||||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||||
}
|
}
|
||||||
|
|
||||||
//uploadArchives {
|
uploadArchives {
|
||||||
// repositories {
|
repositories {
|
||||||
// mavenDeployer {
|
mavenDeployer {
|
||||||
// repository(url: "${nexusUrl}/repository/maven-releases/") {
|
repository(url: "${nexusUrl}/repository/maven-releases/") {
|
||||||
// authentication(userName: nexusUsername, password: nexusPassword)
|
authentication(userName: nexusUsername, password: nexusPassword)
|
||||||
// }
|
}
|
||||||
// snapshotRepository(url: "${nexusUrl}/repository/maven-snapshots") {
|
snapshotRepository(url: "${nexusUrl}/repository/maven-snapshots") {
|
||||||
// authentication(userName: nexusUsername, password: nexusPassword)
|
authentication(userName: nexusUsername, password: nexusPassword)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
//}
|
}
|
Loading…
Reference in New Issue
Block a user