-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (37 loc) · 1.19 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
buildscript {
ext {
kotlinVersion = '1.5.31'
roboVMVersion = "2.3.14"
gdxVersion = "1.10.0"
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
classpath "com.mobidevelop.robovm:robovm-gradle-plugin:$roboVMVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'robovm'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
robovm {
}
dependencies {
implementation "com.mobidevelop.robovm:robovm-rt:${roboVMVersion}"
implementation "com.mobidevelop.robovm:robovm-cocoatouch:${roboVMVersion}"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
testImplementation "junit:junit:4.12"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}