-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
43 lines (39 loc) · 1.02 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
dependencies {
classpath "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
allprojects {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'eclipse'
apply plugin: 'idea'
}
configure(subprojects) {
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.6
}
subprojects {
version = '0.0.1-SNAPSHOT'
ext.appName = 'MovingEnergy'
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
}
// Clearing Eclipse project data in root folder:
tasks.eclipse.doLast {
delete '.project'
delete '.classpath'
delete '.settings/'
}