Created
April 24, 2014 10:04
-
-
Save melix/11249001 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.9.0' | |
} | |
} | |
apply plugin: 'android' | |
repositories { | |
mavenLocal() | |
jcenter() | |
} | |
dependencies { | |
compile 'com.google.android.tools:dx:1.7' | |
compile 'org.codehaus.groovy:groovy:2.3.0-droid-SNAPSHOT' | |
} | |
android { | |
compileSdkVersion 17 | |
buildToolsVersion "19.0.3" | |
defaultConfig { | |
minSdkVersion 17 | |
targetSdkVersion 17 | |
} | |
} | |
android.applicationVariants.all { | |
// ... | |
// some hidden magic not ready for prime time | |
// ... | |
javaCompile.dependsOn("groovy${name}Compile") | |
javaCompile.enabled = false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment