File tree Expand file tree Collapse file tree 2 files changed +27
-15
lines changed
Expand file tree Collapse file tree 2 files changed +27
-15
lines changed Original file line number Diff line number Diff line change 1+ import java.io.ByteArrayOutputStream
2+
3+ fun gitDescribe (): String {
4+ val stdout = ByteArrayOutputStream ()
5+ rootProject.exec {
6+ commandLine(" git" , " describe" , " --tags" )
7+ standardOutput = stdout
8+ }
9+ return stdout.toString().trim()
10+ }
11+
12+
113subprojects {
214
315 apply (plugin = " java-platform" )
416 apply (plugin = " maven-publish" )
517
6- group = " kx .platform"
7- version = " 0.1.8 "
18+ group = " kotlin.graphics .platform"
19+ version = " 0.1.9 "
820
9- // limited dsl support inside here
10- fun publishing (configure : Action <PublishingExtension >) = extensions.configure(" publishing" , configure)
11-
12- publishing {
21+ extensions.configure(PublishingExtension ::class ) {
1322 publications.create<MavenPublication >(" maven" ) {
1423 from(components[" javaPlatform" ])
1524 }
1625 repositories.maven {
17- name = " repsy "
18- url = uri(" https://repo.repsy.io/mvn/elect/kx " )
26+ name = " scijava "
27+ url = uri(" https://maven.scijava.org/content/repositories/releases " )
1928 credentials(PasswordCredentials ::class )
2029 }
2130 }
22- }
31+ }
32+
33+
34+ // println(gitDescribe())
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ dependencies {
1212
1313 val kx = " com.github.kotlin-graphics"
1414
15- api(" $kx :kotlin-unsigned:ff50c1dd " )
16- api(" $kx :kool:706a42d0 " )
17- api(" $kx :glm:c70013f5 " )
18- api(" $kx :gli:6e88ff65 " )
19- api(" $kx :gln:2d5e74af " )
20- // api("$kx:vkk:")
15+ api(" $kx :kotlin-unsigned:51d8dfea " )
16+ api(" $kx :kool:95bcdc4d " )
17+ api(" $kx :glm:8dae70c1 " )
18+ api(" $kx :gli:12cd3342 " )
19+ api(" $kx :gln:9eae85c8 " )
20+ api(" $kx :vkk:9d1cd859 " )
2121 }
2222}
You can’t perform that action at this time.
0 commit comments