mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-27 08:00:09 +07:00
57 lines
1.4 KiB
Groovy
57 lines
1.4 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
jcenter()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:$androidBuildToolsVersion"
|
|
classpath "gradle.plugin.io.netifi:gradle-flatbuffers-plugin:1.0.5"
|
|
}
|
|
|
|
dependencies {
|
|
// lib for artemis-odb weaving.
|
|
// see https://github.com/junkdog/artemis-odb/wiki/Bytecode-weaving
|
|
classpath "net.onedaybeard.artemis:artemis-odb-gradle-plugin:2.2.0"
|
|
|
|
// lib for artemis-odb fluid.
|
|
classpath "net.onedaybeard.artemis:artemis-fluid-gradle-plugin:2.2.0"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: "idea"
|
|
|
|
version = '1.0'
|
|
ext {
|
|
appName = "riiablo"
|
|
roboVMVersion = '2.3.3'
|
|
box2DLightsVersion = '1.4'
|
|
aiVersion = '1.8.0'
|
|
artemisVersion = '2.3.0'
|
|
artemisContribVersion = '2.4.0'
|
|
nettyVersion = '4.1.50.Final'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
google()
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
configure(subprojects - project(':android')) {
|
|
apply plugin: 'java-library'
|
|
sourceCompatibility = 7.0
|
|
compileJava {
|
|
options.incremental = true
|
|
}
|
|
}
|