This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
111 lines (98 loc) · 4.5 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
buildscript {
repositories {
jcenter()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.3'
}
}
apply plugin: 'kotlin'
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = '1.0'
ext {
appName = "bouncyroadmania"
gdxVersion = '1.9.9'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "http://jcenter.bintray.com/" }
maven { url "https://kotlin.bintray.com/kotlinx/" }
maven { url 'https://jitpack.io' }
maven { url 'https://repo.eclipse.org/content/groups/releases/' }
maven { url "http://dl.bintray.com/spookygames/oss" }
}
}
project(":desktop") {
apply plugin: "java"
dependencies {
implementation project(":core")
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
// implementation "com.badlogicgames.gdx:gdx-controllers-lwjgl3:$gdxVersion"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0:natives-windows"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0:natives-macos"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0:natives-linux"
implementation "commons-io:commons-io:2.6"
implementation "com.github.oshi:oshi-core:3.4.4"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1"
implementation "org.asynchttpclient:async-http-client:2.7.0"
implementation "com.sun.activation:javax.activation:1.2.0" // Required for AHC Java 9+
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:2.9.7"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.7"
implementation "org.slf4j:slf4j-nop:1.7.25"
implementation "club.minnced:java-discord-rpc:2.0.2"
implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
}
}
project(":core") {
apply plugin: "java"
dependencies {
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
// implementation "com.badlogicgames.gdx:gdx-controllers-lwjgl3:$gdxVersion"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0:natives-windows"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0:natives-macos"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.0:natives-linux"
implementation "commons-io:commons-io:2.6"
implementation "com.github.oshi:oshi-core:3.4.4"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1"
implementation "org.asynchttpclient:async-http-client:2.7.0"
implementation "com.sun.activation:javax.activation:1.2.0" // Required for AHC Java 9+
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:2.9.7"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.7"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.7"
implementation "org.slf4j:slf4j-nop:1.7.25"
implementation "club.minnced:java-discord-rpc:2.0.2"
implementation fileTree(dir: 'libs', include: ['*.jar'])
}
}
tasks.eclipse.doLast {
delete ".project"
}
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}