Skip to content

Commit 1b731f5

Browse files
committed
renamed wearable jar
1 parent 70b807c commit 1b731f5

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

core/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="var" path="ANDROID_LIB"/>
55
<classpathentry kind="lib" path="library/android-support-v4.jar"/>
6-
<classpathentry kind="lib" path="library/wearable-1.4.0-classes.jar"/>
6+
<classpathentry kind="lib" path="library/wearable-1.4.0.jar"/>
77
<classpathentry kind="output" path="bin"/>
88
</classpath>

core/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ dependencies {
3737
// http://mvn.sibext.com/com/google/android/support/wearable/
3838
// http://uiq3.sourceforge.net/Repository/com/google/android/support/wearable/
3939
// MavenCentral and JCenter don't seem to have any wearable file.
40-
// Use the wear-update script to create a new wearable-$version-classes jar
41-
compile name: 'wearable-1.4.0-classes'
40+
// Use the wear-update script to create a new wearable-$version jar
41+
compile name: 'wearable-1.4.0'
4242
}
4343

4444
sourceSets {

core/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
includeAntRuntime="false"
4343
bootclasspath="${env.ANDROID_SDK}/platforms/${android.platform}/android.jar;
4444
library/android-support-v4.jar;
45-
library/wearable-${wear.version}-classes.jar"
45+
library/wearable-${wear.version}.jar"
4646
srcdir="src" destdir="bin" />
4747

4848
<!-- Copy the shaders to the bin folder.
File renamed without changes.

scripts/wear-update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ wget http://uiq3.sourceforge.net/Repository/com/google/android/support/wearable/
2828
# https://developer.android.com/studio/projects/android-library.html
2929

3030
unzip wearable-$version.aar -d wearable
31-
cp wearable/classes.jar ../core/library/wearable-$version-classes.jar
32-
cp wearable/classes.jar ../mode/wearable-$version-classes.jar
31+
cp wearable/classes.jar ../core/library/wearable-$version.jar
32+
cp wearable/classes.jar ../mode/wearable-$version.jar
3333

3434
# Remove left over files
3535
rm -Rf wearable

src/processing/mode/android/AndroidBuild.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ public File createProject(boolean wear) throws IOException, SketchException {
340340
// cannot be resolved.
341341
// TODO: temporary hack until I find a better way to include the wearable aar
342342
// package included in the SDK:
343-
File wearJarFile = mode.getContentFile("mode/wearable-" + wear_version + "-classes.jar");
343+
File wearJarFile = mode.getContentFile("mode/wearable-" + wear_version + ".jar");
344344
System.out.println(wearJarFile.toString());
345-
Util.copyFile(wearJarFile, new File(libsFolder, "wearable" + wear_version + "classes.jar"));
345+
Util.copyFile(wearJarFile, new File(libsFolder, "wearable-" + wear_version + ".jar"));
346346
// }
347347

348348
// Copy any imported libraries (their libs and assets),

0 commit comments

Comments
 (0)