Advertisement
Guest User

Untitled

a guest
May 2nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 2.72 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2.  
  3. buildscript {
  4.    
  5.     repositories {
  6.         google()
  7.         mavenCentral()
  8.         maven { url 'https://maven.fabric.io/public' }
  9.         jcenter()
  10.     }
  11.  
  12.     def gradle = '3.0.1'
  13.     def apt = '1.8'
  14.     def fabric = '1.+'
  15.  
  16.     dependencies {
  17.         classpath 'com.android.tools.build:gradle:3.1.0'
  18.         classpath "com.neenbedankt.gradle.plugins:android-apt:${apt}"
  19.         classpath "io.fabric.tools:gradle:${fabric}"
  20.  
  21.         // NOTE: Do not place your application dependencies here; they belong
  22.         // in the individual module build.gradle files
  23.     }
  24. }
  25.  
  26. allprojects {
  27.     ext {
  28.         appName = "PrintMyGlasses"
  29.         gdxVersion = '1.9.8'
  30.         roboVMVersion = '2.3.3'
  31.         box2DLightsVersion = '1.4'
  32.         ashleyVersion = '1.7.0'
  33.         aiVersion = '1.8.0'
  34.     }
  35.     repositories {
  36.         google()
  37.         mavenCentral()
  38.         maven { url "https://jitpack.io" }
  39.         jcenter()
  40.         flatDir { dirs 'libs' }
  41.     }
  42. }
  43.  
  44. project(":app") {
  45.     apply plugin: "android"
  46.  
  47.     configurations { natives }
  48.  
  49.     dependencies {
  50.         compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  51.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  52.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  53.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
  54.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  55.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
  56.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  57.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
  58.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
  59.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a"
  60.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
  61.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64"
  62.         compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  63.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  64.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  65.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
  66.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  67.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
  68.  
  69.     }
  70. }
  71.  
  72. task clean(type: Delete) {
  73.     delete rootProject.buildDir
  74. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement