Permalink
Browse files

updated gradle properties

  • Loading branch information...
1 parent 71ea164 commit 2d41c0744ec00479b4c0fc6c445d5a5da58d388a @codeanticode codeanticode committed Jan 2, 2017
Showing with 12 additions and 8 deletions.
  1. +10 −6 build.gradle
  2. +1 −1 gradle.properties
  3. +1 −1 gradle/wrapper/gradle-wrapper.properties
View
@@ -34,9 +34,9 @@ allprojects {
dependencies {
compile name: 'android'
compile project(":core")
- compile group: 'org.processing', name: 'core', version: '3.2.1'
- compile group: 'org.processing', name: 'pde', version: '3.2.1'
- compile group: 'org.processing', name: 'java-mode', version: '3.2.1'
+ compile group: 'org.processing', name: 'core', version: '3.2.3'
+ compile group: 'org.processing', name: 'pde', version: '3.2.3'
+ compile group: 'org.processing', name: 'java-mode', version: '3.2.3'
@@ -64,6 +64,7 @@ task dist {
try {
def root = "$buildDir/zip/AndroidMode"
// Copy assets to build dir
+ FileUtils.copyDirectory(file("templates"), file("$root/templates"))
FileUtils.copyDirectory(file("examples"), file("$root/examples"))
FileUtils.copyDirectory(file("icons"), file("$root/icons"))
FileUtils.copyDirectory(file("mode"), file("$root/mode"))
@@ -72,15 +73,18 @@ task dist {
Files.copy(file("$buildDir/libs/processing-android.jar").toPath(),
file("$root/mode/AndroidMode.jar").toPath(), REPLACE_EXISTING);
-
Files.copy(file("core/build/libs/android-core.zip").toPath(),
file("$root/android-core.zip").toPath(), REPLACE_EXISTING);
Files.copy(file("mode.properties").toPath(),
file("$root/mode.properties").toPath(), REPLACE_EXISTING);
-
- ZipUtil.pack(file("$buildDir/zip"), new File("AndroidMode.zip"))
+ ZipUtil.pack(file("$buildDir/zip"), new File("release/AndroidMode.zip"))
+ Files.copy(file("mode.properties").toPath(),
+ file("release/AndroidMode.txt").toPath(), REPLACE_EXISTING);
+ Files.copy(file("core/build/libs/android-core.zip").toPath(),
+ file("android-core.zip").toPath(), REPLACE_EXISTING);
+
} catch (Exception ex) {
logger.error ex.getMessage()
}
View
@@ -1,2 +1,2 @@
// Set your Android SDK location here
-sdkdir=<Set your Android SDK Home>
+sdkdir=/Users/andres/code/android/sdk
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip

0 comments on commit 2d41c07

Please sign in to comment.