@@ -31,22 +31,22 @@ apply plugin: 'com.github.johnrengelman.shadow'
3131
3232dependencies {
3333
34- compile " org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion "
34+ implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion "
35+ implementation " org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion "
3536
36- testCompile ' io.kotlintest:kotlintest:2.0.7'
37-
38- compile ' com.github.kotlin-graphics:gln:1f1ed15e96a8cfc9489047cb98acf80352312716'
37+ implementation ' com.github.kotlin-graphics:gln:b6f92bf107aa87046bccb5d35edcccb50e767770'
3938
39+ testCompile ' io.kotlintest:kotlintest:2.0.7'
4040 testCompile ' io.kotlintest:kotlintest-runner-junit5:3.0.6'
4141
42- compile " org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion "
4342
4443
4544// ext.jogl = "2.3.2"
4645// compile "org.jogamp.gluegen:gluegen-rt:$jogl"
4746// compile "org.jogamp.jogl:jogl-all:$jogl"
4847
4948
49+ ext. lwjglVersion = " 3.1.7-SNAPSHOT"
5050 switch (OperatingSystem . current()) {
5151 case OperatingSystem . WINDOWS :
5252 ext. lwjglNatives = " natives-windows"
@@ -58,19 +58,10 @@ dependencies {
5858 ext. lwjglNatives = " natives-macos"
5959 break
6060 }
61- ext. lwjglVersion = " 3.1.7-SNAPSHOT"
62- compile " org.lwjgl:lwjgl:${ lwjglVersion} "
63- compile " org.lwjgl:lwjgl-glfw:${ lwjglVersion} "
64- compile " org.lwjgl:lwjgl-jemalloc:${ lwjglVersion} "
65- compile " org.lwjgl:lwjgl-openal:${ lwjglVersion} "
66- compile " org.lwjgl:lwjgl-opengl:${ lwjglVersion} "
67- compile " org.lwjgl:lwjgl-stb:${ lwjglVersion} "
68- runtime " org.lwjgl:lwjgl:${ lwjglVersion} :${ lwjglNatives} "
69- runtime " org.lwjgl:lwjgl-glfw:${ lwjglVersion} :${ lwjglNatives} "
70- runtime " org.lwjgl:lwjgl-jemalloc:${ lwjglVersion} :${ lwjglNatives} "
71- runtime " org.lwjgl:lwjgl-openal:${ lwjglVersion} :${ lwjglNatives} "
72- runtime " org.lwjgl:lwjgl-opengl:${ lwjglVersion} :${ lwjglNatives} "
73- runtime " org.lwjgl:lwjgl-stb:${ lwjglVersion} :${ lwjglNatives} "
61+ [" " , " -glfw" , " -jemalloc" , " -openal" , " -opengl" , " -stb" ]. each {
62+ implementation " org.lwjgl:lwjgl$it :$lwjglVersion "
63+ implementation " org.lwjgl:lwjgl$it :$lwjglVersion :$lwjglNatives "
64+ }
7465}
7566
7667repositories {
0 commit comments