-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (52 loc) · 1.6 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
buildscript {
repositories {
mavenCentral()
maven { url 'https://s01.oss.sonatype.org' }
mavenLocal()
google()
gradlePluginPortal()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://jitpack.io' }
}
dependencies {
classpath "io.freefair.gradle:lombok-plugin:6.5.0.3"
classpath "org.wisepersist:gwt-gradle-plugin:$gwtPluginVersion"
classpath "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
}
}
import com.badlogic.gdx.tools.texturepacker.TexturePacker
task texturePacker {
doLast {
TexturePacker.processIfModified("${project.rootDir}/sprites", "${project.rootDir}/assets/sprites", "sprites")
}
}
allprojects {
apply plugin: 'eclipse'
apply plugin: 'idea'
}
configure(subprojects) {
apply plugin: 'java-library'
apply plugin: 'io.freefair.lombok'
sourceCompatibility = 11
compileJava {
options.incremental = true
dependsOn texturePacker
}
}
subprojects {
version = '1.0.0'
ext.appName = 'LudumDare54'
repositories {
mavenCentral()
maven { url 'https://s01.oss.sonatype.org' }
// You may want to remove the following line if you have errors downloading dependencies.
mavenLocal()
gradlePluginPortal()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://jitpack.io' }
maven { url 'https://teavm.org/maven/repository/' }
}
}
eclipse.project.name = 'LudumDare54' + '-parent'