Permalink
Browse files

Fixed a compilation error related to Gradle and Sugar.

Colors are not hardcoded in the source anymore.
The spinner icon shown during version checks has been updated.
  • Loading branch information...
JusticeRage committed Dec 27, 2016
1 parent 1f6c298 commit 5d92c1468d5b04e18413cc45bebc7b5a173b18d8
Showing with 60 additions and 7,553 deletions.
  1. +0 −2 app/build.gradle
  2. 0 {sugar/library → app}/src/main/java/com/orm/SchemaGenerator.java
  3. 0 {sugar/library → app}/src/main/java/com/orm/SugarApp.java
  4. 0 {sugar/library → app}/src/main/java/com/orm/SugarContext.java
  5. 0 {sugar/library → app}/src/main/java/com/orm/SugarDb.java
  6. 0 {sugar/library → app}/src/main/java/com/orm/SugarRecord.java
  7. 0 {sugar/library → app}/src/main/java/com/orm/SugarTransactionHelper.java
  8. 0 {sugar/library → app}/src/main/java/com/orm/dsl/Column.java
  9. 0 {sugar/library → app}/src/main/java/com/orm/dsl/Ignore.java
  10. 0 {sugar/library → app}/src/main/java/com/orm/dsl/NotNull.java
  11. 0 {sugar/library → app}/src/main/java/com/orm/dsl/Table.java
  12. 0 {sugar/library → app}/src/main/java/com/orm/dsl/Unique.java
  13. 0 {sugar/library → app}/src/main/java/com/orm/query/Condition.java
  14. 0 {sugar/library → app}/src/main/java/com/orm/query/Select.java
  15. 0 {sugar/library → app}/src/main/java/com/orm/util/Collection.java
  16. 0 {sugar/library → app}/src/main/java/com/orm/util/ManifestHelper.java
  17. 0 {sugar/library → app}/src/main/java/com/orm/util/NamingHelper.java
  18. 0 {sugar/library → app}/src/main/java/com/orm/util/NumberComparator.java
  19. 0 {sugar/library → app}/src/main/java/com/orm/util/QueryBuilder.java
  20. 0 {sugar/library → app}/src/main/java/com/orm/util/ReflectionUtil.java
  21. 0 {sugar/library → app}/src/main/java/com/orm/util/SugarConfig.java
  22. 0 {sugar/library → app}/src/main/java/com/orm/util/SugarCursorFactory.java
  23. +7 −15 app/src/main/java/fr/kwiatkowski/apktrack/ui/AppViewHolder.java
  24. BIN app/src/main/res/drawable-hdpi/ic_popup_sync_1.png
  25. BIN app/src/main/res/drawable-hdpi/ic_popup_sync_2.png
  26. BIN app/src/main/res/drawable-hdpi/ic_popup_sync_3.png
  27. BIN app/src/main/res/drawable-hdpi/ic_popup_sync_4.png
  28. BIN app/src/main/res/drawable-hdpi/ic_popup_sync_5.png
  29. BIN app/src/main/res/drawable-hdpi/ic_popup_sync_6.png
  30. BIN app/src/main/res/drawable-mdpi/ic_popup_sync_1.png
  31. BIN app/src/main/res/drawable-mdpi/ic_popup_sync_2.png
  32. BIN app/src/main/res/drawable-mdpi/ic_popup_sync_3.png
  33. BIN app/src/main/res/drawable-mdpi/ic_popup_sync_4.png
  34. BIN app/src/main/res/drawable-mdpi/ic_popup_sync_5.png
  35. BIN app/src/main/res/drawable-mdpi/ic_popup_sync_6.png
  36. BIN app/src/main/res/drawable-xhdpi/ic_popup_sync_1.png
  37. BIN app/src/main/res/drawable-xhdpi/ic_popup_sync_2.png
  38. BIN app/src/main/res/drawable-xhdpi/ic_popup_sync_3.png
  39. BIN app/src/main/res/drawable-xhdpi/ic_popup_sync_4.png
  40. BIN app/src/main/res/drawable-xhdpi/ic_popup_sync_5.png
  41. BIN app/src/main/res/drawable-xhdpi/ic_popup_sync_6.png
  42. +0 −29 app/src/main/res/drawable/ic_popup_sync.xml
  43. +5 −0 app/src/main/res/drawable/spinner.xml
  44. +5 −0 app/src/main/res/drawable/spinner_icon.xml
  45. +1 −1 app/src/main/res/layout-v16/list_item.xml
  46. +1 −1 app/src/main/res/layout/list_item.xml
  47. +6 −0 app/src/main/res/values/colors.xml
  48. +3 −1 changelog.txt
  49. BIN gradle/wrapper/gradle-wrapper.jar
  50. +2 −2 gradle/wrapper/gradle-wrapper.properties
  51. +25 −21 gradlew
  52. +4 −4 gradlew.bat
  53. +1 −4 settings.gradle
  54. +0 −45 sugar/.gitignore
  55. +0 −31 sugar/.travis.yml
  56. +0 −94 sugar/CHANGELOG.md
  57. +0 −19 sugar/LICENSE
  58. +0 −193 sugar/README.md
  59. +0 −103 sugar/build.gradle
  60. +0 −25 sugar/example/build.gradle
  61. +0 −17 sugar/example/build.properties
  62. +0 −79 sugar/example/build.xml
  63. +0 −17 sugar/example/src/main/AndroidManifest.xml
  64. +0 −1 sugar/example/src/main/assets/sugar_upgrades/3.sql
  65. +0 −18 sugar/example/src/main/java/com/example/activities/SugarActivity.java
  66. BIN sugar/example/src/main/res/drawable-hdpi/icon.png
  67. BIN sugar/example/src/main/res/drawable-ldpi/icon.png
  68. BIN sugar/example/src/main/res/drawable-mdpi/icon.png
  69. +0 −9 sugar/example/src/main/res/layout/main.xml
  70. +0 −4 sugar/example/src/main/res/values/strings.xml
  71. +0 −34 sugar/gradle.properties
  72. BIN sugar/gradle/wrapper/gradle-wrapper.jar
  73. +0 −6 sugar/gradle/wrapper/gradle-wrapper.properties
  74. +0 −164 sugar/gradlew
  75. +0 −90 sugar/gradlew.bat
  76. +0 −46 sugar/library/build.gradle
  77. +0 −3 sugar/library/build.properties
  78. +0 −69 sugar/library/build.xml
  79. +0 −3 sugar/library/gradle.properties
  80. +0 −7 sugar/library/src/main/AndroidManifest.xml
  81. +0 −179 sugar/library/src/test/java/com/orm/SchemaGeneratorTest.java
  82. +0 −31 sugar/library/src/test/java/com/orm/SugarAppTest.java
  83. +0 −543 sugar/library/src/test/java/com/orm/SugarDataSourceTest.java
  84. +0 −64 sugar/library/src/test/java/com/orm/SugarDbConfigurationTest.java
  85. +0 −41 sugar/library/src/test/java/com/orm/SugarDbTest.java
  86. +0 −20 sugar/library/src/test/java/com/orm/app/ClientApp.java
  87. +0 −60 sugar/library/src/test/java/com/orm/helper/ManifestHelperTest.java
  88. +0 −90 sugar/library/src/test/java/com/orm/helper/NamingHelperTest.java
  89. +0 −84 sugar/library/src/test/java/com/orm/helper/SugarTransactionHelperTest.java
  90. +0 −25 sugar/library/src/test/java/com/orm/model/AllAnotatedModel.java
  91. +0 −25 sugar/library/src/test/java/com/orm/model/BigDecimalFieldAnnotatedModel.java
  92. +0 −19 sugar/library/src/test/java/com/orm/model/BigDecimalFieldExtendedModel.java
  93. +0 −28 sugar/library/src/test/java/com/orm/model/BooleanFieldAnnotatedModel.java
  94. +0 −26 sugar/library/src/test/java/com/orm/model/BooleanFieldExtendedModel.java
  95. +0 −23 sugar/library/src/test/java/com/orm/model/ByteArrayAnnotatedModel.java
  96. +0 −17 sugar/library/src/test/java/com/orm/model/ByteArrayExtendedModel.java
  97. +0 −28 sugar/library/src/test/java/com/orm/model/DoubleFieldAnnotatedModel.java
  98. +0 −26 sugar/library/src/test/java/com/orm/model/DoubleFieldExtendedModel.java
  99. +0 −10 sugar/library/src/test/java/com/orm/model/EmptyModel.java
  100. +0 −52 sugar/library/src/test/java/com/orm/model/EnumFieldAnnotatedModel.java
  101. +0 −46 sugar/library/src/test/java/com/orm/model/EnumFieldExtendedModel.java
  102. +0 −28 sugar/library/src/test/java/com/orm/model/FloatFieldAnnotatedModel.java
  103. +0 −26 sugar/library/src/test/java/com/orm/model/FloatFieldExtendedModel.java
  104. +0 −9 sugar/library/src/test/java/com/orm/model/IncompleteAnnotatedModel.java
  105. +0 −19 sugar/library/src/test/java/com/orm/model/IntUniqueModel.java
  106. +0 −28 sugar/library/src/test/java/com/orm/model/IntegerFieldAnnotatedModel.java
  107. +0 −26 sugar/library/src/test/java/com/orm/model/IntegerFieldExtendedModel.java
  108. +0 −28 sugar/library/src/test/java/com/orm/model/LongFieldAnnotatedModel.java
  109. +0 −26 sugar/library/src/test/java/com/orm/model/LongFieldExtendedModel.java
  110. +0 −21 sugar/library/src/test/java/com/orm/model/MultiColumnUniqueModel.java
  111. +0 −23 sugar/library/src/test/java/com/orm/model/NestedAnnotatedModel.java
  112. +0 −18 sugar/library/src/test/java/com/orm/model/NestedExtendedModel.java
  113. +0 −18 sugar/library/src/test/java/com/orm/model/NestedMixedAAModel.java
  114. +0 −18 sugar/library/src/test/java/com/orm/model/NestedMixedABModel.java
  115. +0 −24 sugar/library/src/test/java/com/orm/model/NestedMixedBAModel.java
  116. +0 −24 sugar/library/src/test/java/com/orm/model/NestedMixedBBModel.java
  117. +0 −7 sugar/library/src/test/java/com/orm/model/NoSugarModel.java
  118. +0 −23 sugar/library/src/test/java/com/orm/model/RelationshipAnnotatedModel.java
  119. +0 −18 sugar/library/src/test/java/com/orm/model/RelationshipExtendedModel.java
  120. +0 −18 sugar/library/src/test/java/com/orm/model/RelationshipMixedAModel.java
  121. +0 −24 sugar/library/src/test/java/com/orm/model/RelationshipMixedBModel.java
  122. +0 −28 sugar/library/src/test/java/com/orm/model/ShortFieldAnnotatedModel.java
  123. +0 −26 sugar/library/src/test/java/com/orm/model/ShortFieldExtendedModel.java
  124. +0 −15 sugar/library/src/test/java/com/orm/model/SimpleAnnotatedModel.java
  125. +0 −8 sugar/library/src/test/java/com/orm/model/SimpleExtendedModel.java
  126. +0 −33 sugar/library/src/test/java/com/orm/model/SimpleModel.java
  127. +0 −23 sugar/library/src/test/java/com/orm/model/StringFieldAnnotatedModel.java
  128. +0 −22 sugar/library/src/test/java/com/orm/model/StringFieldAnnotatedNoIdModel.java
  129. +0 −21 sugar/library/src/test/java/com/orm/model/StringFieldExtendedModel.java
  130. +0 −18 sugar/library/src/test/java/com/orm/model/StringFieldExtendedModelAnnotatedColumn.java
  131. +0 −21 sugar/library/src/test/java/com/orm/model/TestRecord.java
  132. +0 −29 sugar/library/src/test/java/com/orm/model/onetomany/OneToManyModel.java
  133. +0 −26 sugar/library/src/test/java/com/orm/model/onetomany/OneToManyRelationModel.java
  134. +0 −27 sugar/library/src/test/java/com/orm/model/onetomany/WithoutOneToManyAnnotationModel.java
  135. +0 −26 sugar/library/src/test/java/com/orm/model/onetomany/WithoutOneToManyAnnotationRelationModel.java
  136. +0 −30 sugar/library/src/test/java/com/orm/query/QueryBuilderTests.java
  137. +0 −140 sugar/library/src/test/java/com/orm/query/SelectTest.java
  138. +0 −59 sugar/library/src/test/java/com/orm/record/BigDecimalFieldTests.java
  139. +0 −83 sugar/library/src/test/java/com/orm/record/BooleanFieldTests.java
  140. +0 −58 sugar/library/src/test/java/com/orm/record/ByteArrayFieldTests.java
  141. +0 −78 sugar/library/src/test/java/com/orm/record/CursorTests.java
  142. +0 −83 sugar/library/src/test/java/com/orm/record/DoubleFieldTests.java
  143. +0 −86 sugar/library/src/test/java/com/orm/record/EnumFieldTests.java
  144. +0 −199 sugar/library/src/test/java/com/orm/record/FirstAndLastTests.java
  145. +0 −80 sugar/library/src/test/java/com/orm/record/FloatFieldTests.java
  146. +0 −32 sugar/library/src/test/java/com/orm/record/IncompleteAnnotatedModelTests.java
  147. +0 −107 sugar/library/src/test/java/com/orm/record/IntegerFieldTests.java
  148. +0 −62 sugar/library/src/test/java/com/orm/record/ListAllOrderByTests.java
  149. +0 −80 sugar/library/src/test/java/com/orm/record/LongFieldTests.java
  150. +0 −111 sugar/library/src/test/java/com/orm/record/MultipleSaveTests.java
  151. +0 −142 sugar/library/src/test/java/com/orm/record/NestedAnnotatedTests.java
  152. +0 −140 sugar/library/src/test/java/com/orm/record/NestedExtendedTests.java
  153. +0 −141 sugar/library/src/test/java/com/orm/record/NestedMixedAATests.java
  154. +0 −150 sugar/library/src/test/java/com/orm/record/NestedMixedABTests.java
  155. +0 −151 sugar/library/src/test/java/com/orm/record/NestedMixedBATests.java
  156. +0 −150 sugar/library/src/test/java/com/orm/record/NestedMixedBBTests.java
  157. +0 −34 sugar/library/src/test/java/com/orm/record/NoSugarModelTests.java
  158. +0 −139 sugar/library/src/test/java/com/orm/record/OneToManyTest.java
  159. +0 −125 sugar/library/src/test/java/com/orm/record/RelationshipAnnotatedTests.java
  160. +0 −125 sugar/library/src/test/java/com/orm/record/RelationshipExtendedTests.java
  161. +0 −141 sugar/library/src/test/java/com/orm/record/RelationshipMixedATests.java
  162. +0 −120 sugar/library/src/test/java/com/orm/record/RelationshipMixedBTests.java
  163. +0 −80 sugar/library/src/test/java/com/orm/record/ShortFieldTests.java
  164. +0 −373 sugar/library/src/test/java/com/orm/record/SimpleAnnotatedModelTests.java
  165. +0 −382 sugar/library/src/test/java/com/orm/record/SimpleExtendedModelTests.java
  166. +0 −51 sugar/library/src/test/java/com/orm/record/StringFieldTests.java
  167. +0 −70 sugar/library/src/test/java/com/orm/record/UpdateInTxTest.java
  168. +0 −62 sugar/library/src/test/java/com/orm/util/ContextUtilTest.java
  169. +0 −36 sugar/library/src/test/java/com/orm/util/KeyWordUtilTest.java
  170. +0 −44 sugar/library/src/test/java/com/orm/util/MigrationFileParserTest.java
  171. +0 −48 sugar/library/src/test/java/com/orm/util/NumberComparatorTest.java
  172. +0 −91 sugar/library/src/test/java/com/orm/util/ReflectionUtilTest.java
  173. +0 −33 sugar/library/src/test/java/com/orm/util/SugarConfigTest.java
  174. +0 −92 sugar/maven_push.gradle
  175. +0 −2 sugar/settings.gradle
View
@@ -136,8 +136,6 @@ dependencies {
compile 'com.github.traex.rippleeffect:library:1.3'
compile 'ch.acra:acra:4.6.2'
// TODO: Add SugarORM as a dependency when it works.
// compile 'com.github.satyan:sugar:1.5'
compile project(':sugar')
// SugarORM dependencies:
compile 'com.android.support:support-v4:24.2.1'
compile 'com.google.guava:guava:19.0'
@@ -22,7 +22,6 @@
import android.content.Context;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.graphics.Color;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
@@ -54,8 +53,6 @@
implements View.OnClickListener,
View.OnLongClickListener
{
public static int GREEN = 0xFF4F8A10;
// --------------------------------------------------------------------------------------------
/**
@@ -92,11 +89,6 @@ public boolean onTouch(View v, MotionEvent event)
}
});
}
// Keep a copy of the default text color, because apparently there is no API for this.
if (_default_color == null) {
_default_color = _app_name.getTextColors();
}
}
// --------------------------------------------------------------------------------------------
@@ -186,14 +178,14 @@ else if (text != null && app.get_latest_version() != null) {
text += " (" + app.get_latest_version() + ")";
}
_app_version.setText(text);
_app_version.setTextColor(Color.GRAY);
_app_version.setTextColor(ContextCompat.getColor(ctx, R.color.colorWarning));
return;
}
if (app.get_latest_version() == null)
{
_app_version.setText(app.get_version());
_app_version.setTextColor(_default_color);
_app_version.setTextColor(ContextCompat.getColor(ctx, R.color.colorDefault));
return;
}
@@ -206,15 +198,15 @@ else if (text != null && app.get_latest_version() != null) {
else {
_app_version.setText(app.get_version());
}
_app_version.setTextColor(GREEN);
_app_version.setTextColor(ContextCompat.getColor(ctx, R.color.colorSuccess));
}
else // App is outdated
{
_app_version.setText(String.format("%s (%s %s)",
app.get_version(),
ctx.getResources().getString(R.string.current),
app.get_latest_version()));
_app_version.setTextColor(Color.RED);
_app_version.setTextColor(ContextCompat.getColor(ctx, R.color.colorError));
}
}
@@ -233,15 +225,15 @@ private void _set_date(InstalledApp app, Context ctx)
_check_date.setText(String.format(update_source == null ? "%s %s." : "[" + update_source + "] %s %s.",
ctx.getResources().getString(R.string.last_check),
ctx.getResources().getString(R.string.never)));
_check_date.setTextColor(Color.GRAY);
_check_date.setTextColor(ContextCompat.getColor(ctx, R.color.colorWarning));
}
else
{
DateFormat sdf = SimpleDateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
_check_date.setText(String.format(update_source == null ? "%s %s." : "[" + update_source + "] %s %s.",
ctx.getResources().getString(R.string.last_check),
sdf.format(app.get_last_check_date())));
_check_date.setTextColor(_default_color);
_check_date.setTextColor(ContextCompat.getColor(ctx, R.color.colorDefault));
}
}
@@ -270,7 +262,7 @@ private void _set_action_icon(final InstalledApp app, final Context ctx)
{
if (app.is_currently_checking()) // Show the spinner.
{
_action_icon.setImageDrawable(ContextCompat.getDrawable(ctx, R.drawable.ic_popup_sync));
_action_icon.setImageDrawable(ContextCompat.getDrawable(ctx, R.drawable.spinner));
_action_icon.setVisibility(View.VISIBLE);
((Animatable) _action_icon.getDrawable()).start();
if (_action_icon.hasOnClickListeners()) {
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/spinner_icon"
android:pivotX="50%"
android:pivotY="50%"/>
@@ -0,0 +1,5 @@
<vector android:autoMirrored="true" android:height="24dp"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#9e9e9e" android:pathData="M12,6v3l4,-4 -4,-4v3c-4.42,0 -8,3.58 -8,8 0,1.57 0.46,3.03 1.24,4.26L6.7,14.8c-0.45,-0.83 -0.7,-1.79 -0.7,-2.8 0,-3.31 2.69,-6 6,-6zM18.76,7.74L17.3,9.2c0.44,0.84 0.7,1.79 0.7,2.8 0,3.31 -2.69,6 -6,6v-3l-4,4 4,4v-3c4.42,0 8,-3.58 8,-8 0,-1.57 -0.46,-3.03 -1.24,-4.26z"/>
</vector>
@@ -90,6 +90,6 @@
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:scaleType="fitCenter"
app:srcCompat="@drawable/ic_popup_sync_1" />
app:srcCompat="@drawable/ic_menu_refresh" />
</RelativeLayout>
@@ -86,6 +86,6 @@
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:scaleType="fitCenter"
app:srcCompat="@drawable/ic_popup_sync_1" />
app:srcCompat="@drawable/ic_menu_refresh" />
</RelativeLayout>
@@ -3,4 +3,10 @@
<color name="colorPrimary">#03A9F4</color>
<color name="colorPrimaryDark">#0288D1</color>
<color name="colorAccent">#536DFE</color>
<!-- Text color -->
<color name="colorDefault">#000000</color>
<color name="colorSuccess">#509010</color>
<color name="colorError">#ff0000</color>
<color name="colorWarning">#727272</color>
</resources>
View
@@ -4,7 +4,9 @@
2.1.1:
------
* UI
- The app's design was materialized by Tetsuo55.
- Icons have been vectorized (also by Tetsuo55).
* Update Sources
- Removed the Nightly (Firefox) update source, because their website keeps
changing and the app has built-in update capabilities anyway.
View
BIN -312 Bytes (99%) gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
@@ -1,6 +1,6 @@
#Fri Sep 16 13:38:35 CEST 2016
#Tue Dec 27 12:25:53 CET 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
View
46 gradlew 100644 → 100755
@@ -6,12 +6,30 @@
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
@@ -30,6 +48,7 @@ die ( ) {
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
@@ -40,26 +59,11 @@ case "`uname`" in
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
@@ -85,7 +89,7 @@ location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
View
@@ -8,14 +8,14 @@
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
@@ -46,7 +46,7 @@ echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args
View
@@ -1,10 +1,7 @@
include ':app'
include ':sugar'
def getLocalProperty(prop) {
Properties properties = new Properties()
properties.load(new File(rootDir.absolutePath + '/local.properties').newDataInputStream())
return properties.getProperty(prop, '')
}
project(':sugar').projectDir = new File(getLocalProperty('sugar.dir'))
}
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 5d92c14

Please sign in to comment.