demo-cicd seed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
plugins { id 'java-library'; id 'maven-publish' }
|
||||
group = 'com.otone.demo'
|
||||
version = "1.0.${System.getenv('BUILD_NUMBER') ?: '0'}"
|
||||
repositories { maven { url = 'https://nexus.otone.run/repository/maven-central/' } }
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
url = 'https://nexus.otone.run/repository/maven-releases/'
|
||||
credentials {
|
||||
username = findProperty('nexusUser')
|
||||
password = findProperty('nexusPass')
|
||||
}
|
||||
}
|
||||
}
|
||||
publications { maven(MavenPublication) { from components.java } }
|
||||
}
|
||||
Reference in New Issue
Block a user