-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (41 loc) · 1.28 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
buildscript {
ext {
kotlinVersion = '1.5.10'
kotlinxCoroutineVersion = '1.5.0'
appName = 'Net Dungeons'
gdxVersion = '1.10.0'
ktxVersion = '1.10.0-b1'
visuiVersion = '1.5.0'
}
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
google()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.google.gms:google-services:4.3.8'
classpath "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
apply plugin: 'eclipse'
version = '1.0'
repositories {
mavenLocal()
mavenCentral()
google()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = '1.8'
freeCompilerArgs += '-Xopt-in=kotlin.RequiresOptIn'
}
}
}