summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle39
1 files changed, 6 insertions, 33 deletions
diff --git a/build.gradle b/build.gradle
index ef112bc..909d47d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,4 @@
buildscript {
-
repositories {
mavenLocal()
mavenCentral()
@@ -8,9 +7,8 @@ buildscript {
google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:8.1.2'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21"
-
+ classpath "com.android.tools.build:gradle:$gradleVersion"
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinGradlePluginVersion"
}
}
@@ -30,19 +28,7 @@ allprojects {
apply plugin: "eclipse"
version = '1.2'
- ext {
- appName = "maxon"
- gdxVersion = '1.12.1'
- roboVMVersion = '2.3.16'
- box2DLightsVersion = '1.5'
- ashleyVersion = '1.7.4'
- typingLabelVersion = '1.3.0'
- aiVersion = '1.8.2'
- gdxControllersVersion = '2.2.1'
- kotlinVersion = '1.7.21'
- gltfVersion = '2.2.1'
- discordSdkVersion = '5cdac341e3'
- }
+ ext.appName = "maxon"
repositories {
mavenLocal()
@@ -53,21 +39,15 @@ allprojects {
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://jitpack.io" }
}
-
}
project(":desktop") {
apply plugin: "kotlin"
-
dependencies {
implementation project(":core")
api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
- api "com.badlogicgames.gdx-controllers:gdx-controllers-desktop:$gdxControllersVersion"
- api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
- api "de.golfgl.gdxgamesvcs:gdx-gamesvcs-core-gamejolt:1.1.0"
-
}
}
@@ -91,19 +71,12 @@ project(":android") {
project(":core") {
apply plugin: "kotlin"
-
dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
- api "com.badlogicgames.gdx-controllers:gdx-controllers-core:$gdxControllersVersion"
- api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
- api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
- api "com.badlogicgames.gdx:gdx-ai:$aiVersion"
- api "com.badlogicgames.ashley:ashley:$ashleyVersion"
- api "de.golfgl.gdxgamesvcs:gdx-gamesvcs-core:1.1.0"
- api "com.rafaskoberg.gdx:typing-label:$typingLabelVersion"
+ api "de.golfgl.gdxgamesvcs:gdx-gamesvcs-core:$gamesvcsVersion"
api "com.github.mgsx-dev.gdx-gltf:gltf:$gltfVersion"
- implementation 'com.google.code.gson:gson:2.9.1'
- implementation 'ch.qos.logback:logback-classic:1.2.10'
+ implementation "com.google.code.gson:gson:$gsonVersion"
+ implementation "ch.qos.logback:logback-classic:$logbackVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
implementation "com.github.JnCrMx:discord-game-sdk4j:$discordSdkVersion"