Skip to content

Commit 2d41c07

Browse files
committed
updated gradle properties
1 parent 71ea164 commit 2d41c07

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

build.gradle

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ allprojects {
3434
dependencies {
3535
compile name: 'android'
3636
compile project(":core")
37-
compile group: 'org.processing', name: 'core', version: '3.2.1'
38-
compile group: 'org.processing', name: 'pde', version: '3.2.1'
39-
compile group: 'org.processing', name: 'java-mode', version: '3.2.1'
37+
compile group: 'org.processing', name: 'core', version: '3.2.3'
38+
compile group: 'org.processing', name: 'pde', version: '3.2.3'
39+
compile group: 'org.processing', name: 'java-mode', version: '3.2.3'
4040

4141

4242

@@ -64,6 +64,7 @@ task dist {
6464
try {
6565
def root = "$buildDir/zip/AndroidMode"
6666
// Copy assets to build dir
67+
FileUtils.copyDirectory(file("templates"), file("$root/templates"))
6768
FileUtils.copyDirectory(file("examples"), file("$root/examples"))
6869
FileUtils.copyDirectory(file("icons"), file("$root/icons"))
6970
FileUtils.copyDirectory(file("mode"), file("$root/mode"))
@@ -72,15 +73,18 @@ task dist {
7273
Files.copy(file("$buildDir/libs/processing-android.jar").toPath(),
7374
file("$root/mode/AndroidMode.jar").toPath(), REPLACE_EXISTING);
7475

75-
7676
Files.copy(file("core/build/libs/android-core.zip").toPath(),
7777
file("$root/android-core.zip").toPath(), REPLACE_EXISTING);
7878

7979
Files.copy(file("mode.properties").toPath(),
8080
file("$root/mode.properties").toPath(), REPLACE_EXISTING);
8181

82-
83-
ZipUtil.pack(file("$buildDir/zip"), new File("AndroidMode.zip"))
82+
ZipUtil.pack(file("$buildDir/zip"), new File("release/AndroidMode.zip"))
83+
Files.copy(file("mode.properties").toPath(),
84+
file("release/AndroidMode.txt").toPath(), REPLACE_EXISTING);
85+
Files.copy(file("core/build/libs/android-core.zip").toPath(),
86+
file("android-core.zip").toPath(), REPLACE_EXISTING);
87+
8488
} catch (Exception ex) {
8589
logger.error ex.getMessage()
8690
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Set your Android SDK location here
2-
sdkdir=<Set your Android SDK Home>
2+
sdkdir=/Users/andres/code/android/sdk

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip

0 commit comments

Comments
 (0)