mtg-forge-ios/build.gradle

138 lines
3.3 KiB
Groovy
Raw Normal View History

2017-09-30 21:07:31 +02:00
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
dependencies {
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.1'
classpath 'org.multi-os-engine:moe-gradle:1.3.12'
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = '1.0'
ext {
appName = "mtg-forge-gradle"
gdxVersion = '1.9.6'
roboVMVersion = '2.3.1'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
2017-10-01 01:02:05 +02:00
maven { url "http://4thline.org/m2" }
2017-09-30 21:07:31 +02:00
}
}
project(":forge-core") {
apply plugin: "java"
dependencies {
2017-10-01 01:02:05 +02:00
compile "com.google.guava:guava:16.0.1"
compile "org.apache.commons:commons-lang3:3.3"
2017-09-30 21:07:31 +02:00
}
}
project(":forge-ai") {
apply plugin: "java"
dependencies {
2017-10-01 01:02:05 +02:00
compile project(":forge-core")
compile project(":forge-game")
compile "org.apache.commons:commons-math3:3.6.1"
2017-09-30 21:07:31 +02:00
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
}
}
2017-10-01 01:02:05 +02:00
project(":forge-game") {
2017-09-30 21:07:31 +02:00
apply plugin: "java"
dependencies {
2017-10-01 01:02:05 +02:00
compile project(":forge-core")
compile "com.esotericsoftware.minlog:minlog:1.2"
compile "junit:junit:4.10"
compile "org.apache.commons:commons-math3:3.6.1"
2017-09-30 21:07:31 +02:00
}
}
2017-10-01 01:02:05 +02:00
project(":forge-gui") {
2017-09-30 21:07:31 +02:00
apply plugin: "java"
dependencies {
2017-10-01 01:02:05 +02:00
compile project(":forge-core")
compile project(":forge-game")
compile project(":forge-ai")
compile "io.netty:netty-all:4.0.25.Final"
compile "com.thoughtworks.xstream:xstream:1.4.7"
compile "log4j:log4j:1.2.17"
compile "org.fourthline.cling:cling-support:2.0.1"
2017-09-30 21:07:31 +02:00
}
}
2017-10-01 01:02:05 +02:00
project(":forge-gui-desktop") {
2017-09-30 21:07:31 +02:00
apply plugin: "java"
dependencies {
2017-10-01 01:02:05 +02:00
compile project(":forge-core")
compile project(":forge-ai")
compile project(":forge-gui")
compile "com.miglayout:miglayout:3.5.5"
compile "com.mortennobel:java-image-scaling:0.8.5"
compile "org.freemarker:freemarker:2.3.20"
compile "javazoom:jlayer:1.0.1"
2017-09-30 21:07:31 +02:00
}
}
2017-10-05 12:06:11 +02:00
project(":forge-gui-mobile") {
apply plugin: "java"
dependencies {
compile project(":forge-core")
compile project(":forge-game")
2017-10-05 12:06:11 +02:00
compile project(":forge-ai")
compile project(":forge-gui")
2017-10-05 12:06:11 +02:00
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
}
}
project(":forge-gui-mobile-desktop") {
apply plugin: "java"
dependencies {
compile project(":forge-core")
compile project(":forge-game")
2017-10-05 12:06:11 +02:00
compile project(":forge-ai")
compile project(":forge-gui")
2017-10-05 12:06:11 +02:00
compile project(":forge-gui-mobile")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
2017-10-05 12:06:11 +02:00
compile "com.miglayout:miglayout:3.5.5"
compile "com.mortennobel:java-image-scaling:0.8.5"
compile "org.freemarker:freemarker:2.3.20"
compile "javazoom:jlayer:1.0.1"
}
}
2017-09-30 21:07:31 +02:00
tasks.eclipse.doLast {
delete ".project"
}