@@ -4,36 +4,40 @@ plugins {
44 id ' maven'
55 id ' java'
66 id ' java-library'
7- id " org.jetbrains.kotlin.jvm" version " 1.3.10 "
8- id " com.github.johnrengelman.shadow" version ' 2 .0.4 '
7+ id " org.jetbrains.kotlin.jvm" version " 1.3.11 "
8+ id " com.github.johnrengelman.shadow" version ' 4 .0.3 '
99}
1010
1111// jitpack
1212group = ' com.github.kotlin-graphics'
1313
1414ext {
1515 moduleName = ' com.github.kotlin_graphics.gln'
16- kotlin_version = ' 1.3.10'
17- kotlintest_version = ' 3.1.10'
18- gli_version = ' 6db30b00a6d3f6fc911842cf86973ec8a407aa79'
19- lwjgl_version = " 3.2.1-SNAPSHOT"
16+ kotlin = ' org.jetbrains.kotlin:kotlin'
17+ kotlin_version = ' 1.3.11'
18+ kotlintest_version = ' 3.1.11'
19+ gli_version = ' 42d5ecff1637632c823e230ae5cf3b618051e40f'
20+ lwjgl_version = " 3.2.1"
2021 lwjgl_natives = current() == WINDOWS ? " windows" : current() == LINUX ? " linux" : " macos"
2122}
2223
2324dependencies {
2425
25- ext. kotlin = " org.jetbrains.kotlin:kotlin"
26- implementation " $kotlin -stdlib:$kotlin_version " . toString()
27- implementation " $kotlin -reflect:$kotlin_version " . toString()
26+ implementation " $kotlin -stdlib"
27+ implementation " $kotlin -reflect"
2828
2929 api " com.github.kotlin-graphics:gli:$gli_version " . toString()
3030
31- // testCompile 'io.kotlintest:kotlintest-runner-junit5:3.0.6'
32-
3331 [" " , " -glfw" , " -jemalloc" , " -openal" , " -opengl" , " -stb" ]. each {
3432 implementation " org.lwjgl:lwjgl$it :$lwjgl_version "
3533 runtime " org.lwjgl:lwjgl$it :$lwjgl_version :natives-$lwjgl_natives "
3634 }
35+
36+ constraints {
37+ testImplementation(" $kotlin -stdlib:$kotlin_version " )
38+ testImplementation(" $kotlin -stdlib-jdk7:$kotlin_version " )
39+ testImplementation(" $kotlin -reflect:$kotlin_version " )
40+ }
3741}
3842
3943repositories {
0 commit comments