This repository has been archived by the owner on Apr 16, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 82
/
build.gradle
129 lines (117 loc) · 5.59 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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:5.2.0'
}
}
apply plugin: 'kotlin'
//buildScan { termsOfServiceUrl = "https://gradle.com/terms-of-service"; termsOfServiceAgree = "yes" }
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = "3.20.6"
ext {
appName = "rhythm-heaven-remix-editor-3"
gdxVersion = '1.9.11'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://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 "https://dl.bintray.com/spookygames/oss" }
maven { url "https://clojars.org/repo" }
}
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += "-Xuse-experimental=kotlin.ExperimentalUnsignedTypes"
}
}
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-controllers-lwjgl3:$gdxVersion"
implementation "commons-io:commons-io:2.7"
implementation "com.github.oshi:oshi-core:5.2.5"
// implementation "net.beadsproject:beads:3.1"
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.3.9"
implementation "org.asynchttpclient:async-http-client:2.12.1"
implementation "com.sun.activation:javax.activation:1.2.0" // Required for AHC Java 9+
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:2.11.2"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.11.2"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.2"
implementation "org.eclipse.jgit:org.eclipse.jgit:5.8.1.202007141445-r"
implementation "org.slf4j:slf4j-nop:1.7.25"
implementation "de.sciss:jump3r:1.0.5"
implementation "com.github.chrislo27:musique-barebones:3807b60"
implementation "club.minnced:java-discord-rpc:2.0.2"
implementation "net.lingala.zip4j:zip4j:2.6.2"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.3"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.3:natives-windows"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.3:natives-windows-x86"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.3:natives-macos"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.3:natives-linux"
implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-controllers-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "com.beust:jcommander:1.71"
}
}
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-controllers-lwjgl3:$gdxVersion"
implementation "commons-io:commons-io:2.7"
implementation "com.github.oshi:oshi-core:5.2.5"
// implementation "net.beadsproject:beads:3.1"
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.3.9"
implementation "org.asynchttpclient:async-http-client:2.12.1"
implementation "com.sun.activation:javax.activation:1.2.0" // Required for AHC Java 9+
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:2.11.2"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.11.2"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.2"
implementation "org.eclipse.jgit:org.eclipse.jgit:5.8.1.202007141445-r"
implementation "org.slf4j:slf4j-nop:1.7.25"
implementation "de.sciss:jump3r:1.0.5"
implementation "com.github.chrislo27:musique-barebones:3807b60"
implementation "club.minnced:java-discord-rpc:2.0.2"
implementation "net.lingala.zip4j:zip4j:2.6.2"
implementation "org.lwjgl:lwjgl-tinyfd:3.2.3"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
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'
}