WarsmashModEngine/build.gradle

106 lines
2.5 KiB
Groovy
Raw Normal View History

2018-12-04 05:35:14 +01:00
buildscript {
repositories {
mavenLocal()
2019-09-08 23:39:20 +02:00
flatDir {
dirs "$rootProject.projectDir/jars"
}
2018-12-04 05:35:14 +01:00
mavenCentral()
2022-01-30 17:02:48 +01:00
gradlePluginPortal()
2018-12-04 05:35:14 +01:00
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://maven.nikr.net/" }
2018-12-04 05:35:14 +01:00
google()
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = '1.0'
ext {
appName = "warsmash"
gdxVersion = '1.9.8'
2022-01-30 17:02:48 +01:00
antlrVersion = '4.7'
2018-12-04 05:35:14 +01:00
}
repositories {
mavenLocal()
mavenCentral()
google()
2022-01-30 17:02:48 +01:00
gradlePluginPortal()
2018-12-04 05:35:14 +01:00
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://maven.nikr.net/" }
2022-01-30 17:02:48 +01:00
maven { url "https://jitpack.io" }
2018-12-04 05:35:14 +01:00
}
}
project(":server") {
2022-01-30 17:02:48 +01:00
apply plugin: "java-library"
dependencies {
2022-01-30 17:02:48 +01:00
implementation project(":shared")
}
}
2018-12-04 05:35:14 +01:00
project(":desktop") {
2022-01-30 17:02:48 +01:00
apply plugin: "java-library"
2018-12-04 05:35:14 +01:00
dependencies {
2022-01-30 17:02:48 +01:00
implementation project(":core")
api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
api "com.google.guava:guava:23.5-jre"
api "org.apache.commons:commons-compress:1.20"
api "net.nikr:dds:1.0.0"
2018-12-04 05:35:14 +01:00
}
}
project(":core") {
2022-01-30 17:02:48 +01:00
apply plugin: "java-library"
2018-12-04 05:35:14 +01:00
dependencies {
2022-01-30 17:02:48 +01:00
implementation project(":shared")
implementation project(":fdfparser")
implementation project(":jassparser")
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
api "com.google.guava:guava:23.5-jre"
api "org.apache.commons:commons-compress:1.20"
api "net.nikr:dds:1.0.0"
api files(fileTree(dir:'../jars', includes: ['*.jar']))
2018-12-04 05:35:14 +01:00
}
}
project(":shared") {
2022-01-30 17:02:48 +01:00
apply plugin: "java-library"
dependencies {
}
}
2020-05-18 05:57:07 +02:00
project(":fdfparser") {
apply plugin: "antlr"
dependencies {
antlr "org.antlr:antlr4:$antlrVersion" // use antlr version 4
}
}
project(":jassparser") {
apply plugin: "antlr"
dependencies {
antlr "org.antlr:antlr4:$antlrVersion" // use antlr version 4
}
}
2018-12-04 05:35:14 +01:00
tasks.eclipse.doLast {
delete ".project"
}