66 lines
1.7 KiB
Groovy
66 lines
1.7 KiB
Groovy
|
buildscript {
|
||
|
ext.kotlinVersion = '1.3.41'
|
||
|
|
||
|
repositories {
|
||
|
mavenLocal()
|
||
|
mavenCentral()
|
||
|
gradlePluginPortal()
|
||
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
||
|
google()
|
||
|
}
|
||
|
dependencies {
|
||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
apply plugin: "eclipse"
|
||
|
|
||
|
version = '1.0'
|
||
|
ext {
|
||
|
appName = "cubes-and-things"
|
||
|
gdxVersion = '1.10.0'
|
||
|
roboVMVersion = '2.3.12'
|
||
|
box2DLightsVersion = '1.5'
|
||
|
ashleyVersion = '1.7.3'
|
||
|
aiVersion = '1.8.2'
|
||
|
gdxControllersVersion = '2.1.0'
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenLocal()
|
||
|
mavenCentral()
|
||
|
google()
|
||
|
gradlePluginPortal()
|
||
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
||
|
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
|
||
|
maven { url 'https://jitpack.io' }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
project(":desktop") {
|
||
|
apply plugin: "kotlin"
|
||
|
|
||
|
|
||
|
dependencies {
|
||
|
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 "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
project(":core") {
|
||
|
apply plugin: "kotlin"
|
||
|
|
||
|
|
||
|
dependencies {
|
||
|
api "com.badlogicgames.gdx:gdx:$gdxVersion"
|
||
|
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
|
||
|
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
||
|
compile 'com.github.apsun:luabridge:master-SNAPSHOT'
|
||
|
}
|
||
|
}
|