-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (60 loc) · 2.54 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.6.21'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'org.beryx.runtime' version '1.13.0'
}
group = 'me.danbu'
version = '1.0-SNAPSHOT'
allprojects {
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
apply plugin: 'org.beryx.runtime'
}
application {
mainClass = "DesktopLauncher"
applicationName = 'thundarr'
}
runtime {
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
modules = ['java.naming', 'java.xml']
javaHome = 'C:/Users/danbu/.jdks/openjdk-20.0.1'
}
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.4.0'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.4.0'
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-lwjgl3-glfw-awt-macos:$gdxVersion"
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
api "io.github.libktx:ktx-collections:$ktxCollectionsVersion"
api "io.github.libktx:ktx-tiled:$ktxTiledVersion"
api "io.github.libktx:ktx-assets:$ktxAssetsVersion"
api "io.github.libktx:ktx-async:$ktxAsyncVersion"
api "io.github.libktx:ktx-assets-async:$ktxAssetsAsyncVersion"
api "io.github.libktx:ktx-preferences:$ktxPreferencesVersion"
api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
api "io.github.libktx:ktx-freetype:$ktxFreetypeVersion"
api "io.github.libktx:ktx-freetype-async:$ktxFreetypeAsyncVersion"
api "io.github.libktx:ktx-graphics:$ktxGraphicsVersion"
api "io.github.libktx:ktx-math:$ktxMathVersion"
implementation "io.github.libktx:ktx-app:$ktxAppVersion"
api "io.github.libktx:ktx-log:$ktxLogVersion"
implementation 'io.github.microutils:kotlin-logging-jvm:3.0.0'
implementation 'org.slf4j:slf4j-simple:2.0.3'
implementation 'org.jetbrains.exposed:exposed-core:0.40.1'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.40.1'
implementation 'org.xerial:sqlite-jdbc:3.39.3.0'
}
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}