From 427501974771b03b070c28423edeb6c488e91397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sat, 25 May 2013 23:13:39 +0200 Subject: [PATCH] gradle wrapper --- .gitignore | 3 +++ OpenPGP-Keychain-API-Demo/.gitignore | 3 +++ OpenPGP-Keychain-API-Lib/.gitignore | 3 +++ OpenPGP-Keychain/.gitignore | 3 +++ OpenPGP-Keychain/build.gradle | 5 ----- README.md | 4 ++-- build.gradle | 4 ++++ 7 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 build.gradle diff --git a/.gitignore b/.gitignore index 71c11b159..afa9dfc45 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ ant.properties .gradle build gradle.properties +gradlew +gradlew.bat +gradle #Maven target diff --git a/OpenPGP-Keychain-API-Demo/.gitignore b/OpenPGP-Keychain-API-Demo/.gitignore index 71c11b159..afa9dfc45 100644 --- a/OpenPGP-Keychain-API-Demo/.gitignore +++ b/OpenPGP-Keychain-API-Demo/.gitignore @@ -14,6 +14,9 @@ ant.properties .gradle build gradle.properties +gradlew +gradlew.bat +gradle #Maven target diff --git a/OpenPGP-Keychain-API-Lib/.gitignore b/OpenPGP-Keychain-API-Lib/.gitignore index 71c11b159..afa9dfc45 100644 --- a/OpenPGP-Keychain-API-Lib/.gitignore +++ b/OpenPGP-Keychain-API-Lib/.gitignore @@ -14,6 +14,9 @@ ant.properties .gradle build gradle.properties +gradlew +gradlew.bat +gradle #Maven target diff --git a/OpenPGP-Keychain/.gitignore b/OpenPGP-Keychain/.gitignore index 71c11b159..afa9dfc45 100644 --- a/OpenPGP-Keychain/.gitignore +++ b/OpenPGP-Keychain/.gitignore @@ -14,6 +14,9 @@ ant.properties .gradle build gradle.properties +gradlew +gradlew.bat +gradle #Maven target diff --git a/OpenPGP-Keychain/build.gradle b/OpenPGP-Keychain/build.gradle index 19b2576e9..ec8e07cbd 100644 --- a/OpenPGP-Keychain/build.gradle +++ b/OpenPGP-Keychain/build.gradle @@ -1,8 +1,3 @@ - -task wrapper(type: Wrapper) { - gradleVersion = '1.6' -} - buildscript { repositories { mavenCentral() diff --git a/README.md b/README.md index 0971edae6..881f2b59f 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ Fork OpenPGP Keychain and do a merge request. I will merge your changes back int 1. Have Android SDK "tools", "platform-tools", and "build-tools" directories in your PATH (http://developer.android.com/sdk/index.html) 2. Export ANDROID_HOME pointing to your Android SDK -3. Install Gradle (Minimum version: 1.6) -4. Execute ``gradle assemble`` +3. Execute ``gradle wrapper`` (http://www.gradle.org/docs/current/userguide/gradle_wrapper.html) +4. Execute ``./gradlew assemble`` ## Build with Ant diff --git a/build.gradle b/build.gradle new file mode 100644 index 000000000..a4573e05d --- /dev/null +++ b/build.gradle @@ -0,0 +1,4 @@ + +task wrapper(type: Wrapper) { + gradleVersion = '1.6' +}