Skip to content

Commit

Permalink
v0.4.7
Browse files Browse the repository at this point in the history
- lwjgl 3.2.1
- kotlin 1.3.11
- kotlintest 3.1.11
- shadow 4.0.3
  • Loading branch information
elect86 committed Dec 10, 2018
1 parent f1e3579 commit 39c1390
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
26 changes: 15 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,40 @@ plugins {
id 'maven'
id 'java'
id 'java-library'
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "com.github.johnrengelman.shadow" version '2.0.4'
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "com.github.johnrengelman.shadow" version '4.0.3'
}

// jitpack
group = 'com.github.kotlin-graphics'

ext{
moduleName = 'com.github.kotlin_graphics.gln'
kotlin_version = '1.3.10'
kotlintest_version = '3.1.10'
gli_version = '6db30b00a6d3f6fc911842cf86973ec8a407aa79'
lwjgl_version = "3.2.1-SNAPSHOT"
kotlin = 'org.jetbrains.kotlin:kotlin'
kotlin_version = '1.3.11'
kotlintest_version = '3.1.11'
gli_version = '42d5ecff1637632c823e230ae5cf3b618051e40f'
lwjgl_version = "3.2.1"
lwjgl_natives = current() == WINDOWS ? "windows" : current() == LINUX ? "linux" : "macos"
}

dependencies {

ext.kotlin = "org.jetbrains.kotlin:kotlin"
implementation "$kotlin-stdlib:$kotlin_version".toString()
implementation "$kotlin-reflect:$kotlin_version".toString()
implementation "$kotlin-stdlib"
implementation "$kotlin-reflect"

api "com.github.kotlin-graphics:gli:$gli_version".toString()

//testCompile 'io.kotlintest:kotlintest-runner-junit5:3.0.6'

["", "-glfw", "-jemalloc", "-openal", "-opengl", "-stb"].each {
implementation "org.lwjgl:lwjgl$it:$lwjgl_version"
runtime "org.lwjgl:lwjgl$it:$lwjgl_version:natives-$lwjgl_natives"
}

constraints {
testImplementation("$kotlin-stdlib:$kotlin_version")
testImplementation("$kotlin-stdlib-jdk7:$kotlin_version")
testImplementation("$kotlin-reflect:$kotlin_version")
}
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/gln/gln.kt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fun checkError(location: String = "", throws: Boolean = true): Boolean {
}
}

val VERSION = "0.4.6"
val VERSION = "0.4.7"

fun main(args: Array<String>) {

Expand Down

0 comments on commit 39c1390

Please sign in to comment.