Skip to content

Instantly share code, notes, and snippets.

@lastorset
Created October 26, 2015 15:46
Show Gist options
  • Save lastorset/a2a35493ca4d689bd0d3 to your computer and use it in GitHub Desktop.
Save lastorset/a2a35493ca4d689bd0d3 to your computer and use it in GitHub Desktop.
An example of Android Studio ignoring Gradle wrapper settings
task wrapper(type: Wrapper) {
// Note: Android Studio ignores this line (probably a bug)
jarFile "$projectDir/../gradle/wrapper/gradle-wrapper.jar"
doLast {
"rm ./gradlew.bat".execute()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment