Rev 1712 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1688 | chris | 1 | buildscript { |
| 2 | repositories { |
||
| 3 | mavenCentral() |
||
| 4 | mavenLocal() |
||
| 5 | } |
||
| 6 | dependencies { |
||
| 1714 | chris | 7 | classpath 'com.android.tools.build:gradle:1.0.0-rc4' |
| 1688 | chris | 8 | classpath 'com.github.jtakakura:gradle-robovm-plugin:0.0.8' |
| 9 | } |
||
| 10 | } |
||
| 11 | |||
| 12 | allprojects { |
||
| 13 | apply plugin: "eclipse" |
||
| 14 | apply plugin: "idea" |
||
| 15 | |||
| 16 | version = '1.0' |
||
| 17 | ext { |
||
| 18 | appName = 'watergame' |
||
| 19 | gdxVersion = '1.0.1' |
||
| 20 | roboVMVersion = '0.0.12' |
||
| 21 | } |
||
| 22 | |||
| 23 | repositories { |
||
| 24 | mavenLocal() |
||
| 25 | mavenCentral() |
||
| 26 | maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } |
||
| 27 | maven { url "https://oss.sonatype.org/content/repositories/releases/" } |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | project(":desktop") { |
||
| 32 | apply plugin: "java" |
||
| 33 | |||
| 34 | |||
| 35 | dependencies { |
||
| 36 | compile project(":core") |
||
| 37 | compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" |
||
| 38 | compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 42 | project(":android") { |
||
| 43 | apply plugin: "android" |
||
| 44 | |||
| 45 | configurations { natives } |
||
| 46 | |||
| 47 | dependencies { |
||
| 48 | compile project(":core") |
||
| 49 | compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion" |
||
| 50 | natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi" |
||
| 51 | natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a" |
||
| 52 | natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86" |
||
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 56 | project(":ios") { |
||
| 57 | apply plugin: "java" |
||
| 58 | apply plugin: "robovm" |
||
| 59 | |||
| 60 | configurations { natives } |
||
| 61 | |||
| 62 | dependencies { |
||
| 63 | compile project(":core") |
||
| 64 | compile "org.robovm:robovm-rt:${roboVMVersion}" |
||
| 65 | compile "org.robovm:robovm-cocoatouch:${roboVMVersion}" |
||
| 66 | compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion" |
||
| 67 | natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" |
||
| 68 | } |
||
| 69 | } |
||
| 70 | |||
| 1707 | chris | 71 | project(":annotations") { |
| 72 | apply plugin: "java" |
||
| 73 | } |
||
| 74 | |||
| 1712 | chris | 75 | project(":bauzoid2") { |
| 76 | apply plugin: "java" |
||
| 77 | |||
| 78 | |||
| 79 | dependencies { |
||
| 80 | compile "com.badlogicgames.gdx:gdx:$gdxVersion" |
||
| 81 | } |
||
| 82 | } |
||
| 83 | |||
| 1688 | chris | 84 | project(":core") { |
| 85 | apply plugin: "java" |
||
| 86 | |||
| 87 | |||
| 88 | dependencies { |
||
| 1707 | chris | 89 | compile project(':annotations') |
| 1712 | chris | 90 | compile project(':bauzoid2') |
| 1688 | chris | 91 | compile "com.badlogicgames.gdx:gdx:$gdxVersion" |
| 92 | } |
||
| 93 | } |
||
| 94 | |||
| 1707 | chris | 95 | |
| 1688 | chris | 96 | tasks.eclipse.doLast { |
| 97 | delete ".project" |
||
| 1707 | chris | 98 | } |
| 99 | |||
| 100 |