demo-cicd seed

This commit is contained in:
seed
2026-09-17 16:08:32 +08:00
commit 41a6938873
13 changed files with 1535 additions and 0 deletions
+16
View File
@@ -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 } }
}