File tree Expand file tree Collapse file tree 5 files changed +37
-7
lines changed Expand file tree Collapse file tree 5 files changed +37
-7
lines changed Original file line number Diff line number Diff line change 1+ plugins {
2+ `java- platform`
3+ `maven- publish`
4+ }
5+
6+ repositories {
7+ maven(" https://jitpack.io" )
8+ }
9+
10+ val kx = " com.github.kotlin-graphics"
11+ val glmVersion: String by project
12+
13+ javaPlatform.allowDependencies()
14+
15+ dependencies {
16+ api(platform(" $kx .glm:bom:$glmVersion " ))
17+ constraints.api(" $kx :glm:$glmVersion " )
18+ }
19+
20+ publishing.publications.create<MavenPublication >(" mavenJava" ) {
21+ from(components[" javaPlatform" ])
22+ }
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ val moduleName = "$group.gli"
1616
1717val kotestVersion = " 4.2.5"
1818val kx = " com.github.kotlin-graphics"
19- val unsignedVersion = " f2cd9c97 "
20- val koolVersion = " b4ff3661 "
21- val glmVersion = " 3466fcde "
19+ val unsignedVersion: String by project
20+ val koolVersion: String by project
21+ val glmVersion: String by project
2222val lwjglVersion = " 3.2.3"
2323val lwjglNatives = " natives-" + when (current()) {
2424 WINDOWS -> " windows"
@@ -35,8 +35,10 @@ repositories {
3535dependencies {
3636 implementation(kotlin(" stdlib-jdk8" ))
3737
38- implementation(" $kx :kotlin-unsigned:$unsignedVersion " )
39- implementation(" $kx :kool:$koolVersion " )
38+ implementation(platform(" $kx .glm:bom:$glmVersion " ))
39+
40+ implementation(" $kx :kotlin-unsigned" )
41+ implementation(" $kx :kool" )
4042 implementation(" $kx :glm:$glmVersion " )
4143
4244 // https://mvnrepository.com/artifact/com.twelvemonkeys.imageio/imageio-core
Original file line number Diff line number Diff line change 1- org.gradle.jvmargs =-XX:MaxMetaspaceSize =512m
1+ org.gradle.jvmargs =-XX:MaxMetaspaceSize =512m
2+
3+ unsignedVersion = 43908d7c
4+ koolVersion = 77c83e13
5+ glmVersion = 062a3f10
Original file line number Diff line number Diff line change 11rootProject.name = " gli"
2+
3+ include(" bom" )
You can’t perform that action at this time.
0 commit comments