mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-11-14 04:17:19 +01:00
178 lines
4.4 KiB
Groovy
178 lines
4.4 KiB
Groovy
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/" }
|
|
maven { url "http://4thline.org/m2" }
|
|
}
|
|
}
|
|
|
|
project(":forge-core") {
|
|
apply plugin: "java"
|
|
|
|
|
|
dependencies {
|
|
compile "com.google.guava:guava:16.0.1"
|
|
compile "org.apache.commons:commons-lang3:3.3"
|
|
}
|
|
}
|
|
|
|
project(":forge-ai") {
|
|
apply plugin: "java"
|
|
|
|
|
|
dependencies {
|
|
compile project(":forge-core")
|
|
compile project(":forge-game")
|
|
compile "org.apache.commons:commons-math3:3.6.1"
|
|
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
|
|
|
|
}
|
|
}
|
|
|
|
project(":forge-game") {
|
|
apply plugin: "java"
|
|
|
|
|
|
dependencies {
|
|
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"
|
|
}
|
|
}
|
|
|
|
project(":forge-gui") {
|
|
apply plugin: "java"
|
|
|
|
|
|
dependencies {
|
|
compile project(":forge-core")
|
|
compile project(":forge-game")
|
|
compile project(":forge-ai")
|
|
|
|
compile "xmlpull:xmlpull:1.1.3.1"
|
|
compile "xpp3:xpp3_min:1.1.4c"
|
|
|
|
compile "com.thoughtworks.xstream:xstream:1.4.7"
|
|
|
|
compile "io.netty:netty-all:4.0.25.Final"
|
|
compile "log4j:log4j:1.2.17"
|
|
compile "org.fourthline.cling:cling-support:2.0.1"
|
|
|
|
}
|
|
}
|
|
|
|
project(":forge-gui-desktop") {
|
|
apply plugin: "java"
|
|
|
|
|
|
dependencies {
|
|
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"
|
|
}
|
|
}
|
|
|
|
project(":forge-gui-mobile") {
|
|
apply plugin: "java"
|
|
|
|
|
|
dependencies {
|
|
compile project(":forge-core")
|
|
compile project(":forge-game")
|
|
compile project(":forge-ai")
|
|
compile project(":forge-gui")
|
|
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")
|
|
compile project(":forge-ai")
|
|
compile project(":forge-gui")
|
|
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"
|
|
}
|
|
}
|
|
|
|
project(":forge-gui-mobile-ios-moe") {
|
|
apply plugin: "moe"
|
|
|
|
configurations { natives }
|
|
|
|
dependencies {
|
|
compile project(":forge-core")
|
|
compile project(":forge-game")
|
|
compile project(":forge-ai")
|
|
compile project(":forge-gui")
|
|
compile project(":forge-gui-mobile")
|
|
compile "com.badlogicgames.gdx:gdx-backend-moe:$gdxVersion"
|
|
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
|
|
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
|
|
}
|
|
}
|
|
|
|
project(":forge-gui-mobile-ios") {
|
|
apply plugin: "java"
|
|
apply plugin: "robovm"
|
|
|
|
|
|
dependencies {
|
|
compile project(":forge-core")
|
|
compile project(":forge-game")
|
|
compile project(":forge-ai")
|
|
compile project(":forge-gui")
|
|
compile project(":forge-gui-mobile")
|
|
|
|
compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
|
|
compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
|
|
compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
|
|
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
|
|
}
|
|
}
|
|
|
|
tasks.eclipse.doLast {
|
|
delete ".project"
|
|
}
|