Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- ext.kotlinVersion = '1.3.61'
- repositories {
- google()
- jcenter()
- mavenCentral()
- maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
- }
- dependencies {
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
- classpath 'com.android.tools.build:gradle:3.6.3'
- }
- }
- allprojects {
- apply plugin: "eclipse"
- apply plugin: "idea"
- version = '1.0'
- ext {
- appName = "DCrawler"
- gdxVersion = '1.9.10'
- roboVMVersion = '1.12.0'
- box2DLightsVersion = '1.4'
- ashleyVersion = '1.7.0'
- aiVersion = '1.7.0'
- visuiVersion = '1.4.0'
- }
- repositories {
- google()
- jcenter()
- mavenCentral()
- maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
- maven { url "https://oss.sonatype.org/content/repositories/releases/" }
- }
- }
- project(":desktop") {
- apply plugin: "kotlin"
- dependencies {
- implementation project(":core")
- implementation "com.badlogicgames.gdx:gdx-ai:1.8.1"
- //compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
- implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
- implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
- implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
- }
- }
- project(":android") {
- apply plugin: "android"
- apply plugin: "kotlin-android"
- configurations { natives }
- dependencies {
- implementation project(":core")
- implementation "com.badlogicgames.gdx:gdx-ai:1.8.1"
- implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
- implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
- }
- }
- project(":core") {
- apply plugin: 'java-library'
- apply plugin: "kotlin"
- dependencies {
- implementation "com.badlogicgames.gdx:gdx-ai:1.8.1"
- api "com.badlogicgames.gdx:gdx:$gdxVersion"
- api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
- api 'com.google.code.gson:gson:2.8.6'
- api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
- api "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
- }
- }
- project(":desktop-editor") {
- apply plugin: "kotlin"
- dependencies {
- implementation project(":core-editor")
- implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
- implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
- implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
- }
- }
- project(":android-editor") {
- apply plugin: "android"
- apply plugin: "kotlin-android"
- configurations { natives }
- dependencies {
- implementation project(":core-editor")
- implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
- natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
- implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
- natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
- }
- }
- project(":core-editor") {
- apply plugin: "kotlin"
- dependencies {
- implementation project(":core")
- implementation "com.kotcrab.vis:vis-ui:$visuiVersion"
- }
- }
- tasks.eclipse.doLast {
- delete ".project"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement