SHARE
TWEET

Untitled

a guest Oct 17th, 2015 3 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. buildscript {
  2.     repositories {
  3.         mavenCentral()
  4.         maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  5.     }
  6.     dependencies {
  7.         classpath 'com.android.tools.build:gradle:1.2.3'
  8.     }
  9. }
  10.  
  11. allprojects {
  12.     apply plugin: "eclipse"
  13.     apply plugin: "idea"
  14.  
  15.     version = '1.0'
  16.     ext {
  17.         appName = "Hello World"
  18.         gdxVersion = '1.7.0'
  19.         roboVMVersion = '1.8.0'
  20.         box2DLightsVersion = '1.4'
  21.         ashleyVersion = '1.6.0'
  22.         aiVersion = '1.6.0'
  23.     }
  24.  
  25.     repositories {
  26.         mavenCentral()
  27.         maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  28.         maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  29.     }
  30. }
  31.  
  32. project(":desktop") {
  33.     apply plugin: "java"
  34.  
  35.  
  36.     dependencies {
  37.         compile project(":core")
  38.         compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  39.         compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  40.         compile "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
  41.     }
  42. }
  43.  
  44. project(":android") {
  45.     apply plugin: "android"
  46.  
  47.     configurations { natives }
  48.  
  49.     dependencies {
  50.         compile project(":core")
  51.         compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  52.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  53.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  54.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  55.     }
  56. }
  57.  
  58. project(":core") {
  59.     apply plugin: "java"
  60.  
  61.     dependencies {
  62.         compile "com.badlogicgames.gdx:gdx:$gdxVersion"
  63.         compile "com.google.android.gms:play-services-ads:8.1.0"
  64.     }
  65. }
  66.  
  67. tasks.eclipse.doLast {
  68.     delete ".project"
  69. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top