├── .gitignore
├── README.md
├── app
├── app.iml
├── build.gradle
├── proguard-rules.pro
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── assets
│ ├── app_func_theme.xml
│ ├── appfilter.xml
│ ├── desk.xml
│ ├── drawable.xml
│ ├── fonts
│ │ ├── Font-Bold.ttf
│ │ ├── Font-Medium.ttf
│ │ └── Font-Regular.ttf
│ └── themecfg.xml
│ ├── java
│ └── com
│ │ └── material
│ │ └── dashboard
│ │ └── candybar
│ │ └── sample
│ │ ├── activities
│ │ ├── MainActivity.java
│ │ ├── MuzeiActivity.java
│ │ └── SplashActivity.java
│ │ ├── applications
│ │ └── CandyBar.java
│ │ ├── licenses
│ │ └── License.java
│ │ └── services
│ │ └── MuzeiService.java
│ └── res
│ ├── drawable-nodpi
│ ├── camera.png
│ ├── email.png
│ ├── ic_splash_screen.png
│ └── keyboard.png
│ ├── drawable-xxxhdpi
│ └── ic_muzei_logo.png
│ ├── mipmap-hdpi
│ └── icon.png
│ ├── mipmap-mdpi
│ └── icon.png
│ ├── mipmap-xhdpi
│ └── icon.png
│ ├── mipmap-xxhdpi
│ └── icon.png
│ ├── mipmap-xxxhdpi
│ └── icon.png
│ ├── values
│ ├── apex_settings.xml
│ ├── changelog.xml
│ ├── colors.xml
│ ├── dashboard_configurations.xml
│ ├── dashboard_icon_name_replacer.xml
│ └── dashboard_icon_pack.xml
│ └── xml
│ ├── appfilter.xml
│ ├── appmap.xml
│ ├── contributors.xml
│ ├── drawable.xml
│ ├── theme_resources.xml
│ ├── themecfg.xml
│ └── themeinfo.xml
├── build.gradle
├── gradle.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
/.gitignore:
--------------------------------------------------------------------------------
1 | # Created by https://www.gitignore.io/api/android,intellij,osx,gradle,java
2 |
3 | ### Android ###
4 | # Built application files
5 | *.apk
6 | *.ap_
7 |
8 | # Files for the ART/Dalvik VM
9 | *.dex
10 |
11 | # Java class files
12 | *.class
13 |
14 | # Generated files
15 | bin/
16 | gen/
17 | out/
18 |
19 | # Gradle files
20 | .gradle/
21 | build/
22 |
23 | # Local configuration file (sdk path, etc)
24 | local.properties
25 |
26 | # Proguard folder generated by Eclipse
27 | proguard/
28 |
29 | # Log Files
30 | *.log
31 |
32 | # Android Studio Navigation editor temp files
33 | .navigation/
34 |
35 | # Android Studio captures folder
36 | captures/
37 |
38 | # Intellij
39 | *.iml
40 | .idea/workspace.xml
41 | .idea/tasks.xml
42 | .idea/libraries
43 |
44 | # Keystore files
45 | *.jks
46 |
47 | # External native build folder generated in Android Studio 2.2 and later
48 | .externalNativeBuild
49 |
50 | ### Android Patch ###
51 | gen-external-apklibs
52 |
53 |
54 | ### Intellij ###
55 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
56 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
57 |
58 | # User-specific stuff:
59 |
60 | # Sensitive or high-churn files:
61 | .idea/dataSources/
62 | .idea/dataSources.ids
63 | .idea/dataSources.xml
64 | .idea/dataSources.local.xml
65 | .idea/sqlDataSources.xml
66 | .idea/dynamic.xml
67 | .idea/uiDesigner.xml
68 |
69 | # Gradle:
70 | .idea/gradle.xml
71 |
72 | # Mongo Explorer plugin:
73 | .idea/mongoSettings.xml
74 |
75 | ## File-based project format:
76 | *.iws
77 |
78 | ## Plugin-specific files:
79 |
80 | # IntelliJ
81 | /out/
82 |
83 | # mpeltonen/sbt-idea plugin
84 | .idea_modules/
85 |
86 | # JIRA plugin
87 | atlassian-ide-plugin.xml
88 |
89 | # Crashlytics plugin (for Android Studio and IntelliJ)
90 | com_crashlytics_export_strings.xml
91 | crashlytics.properties
92 | crashlytics-build.properties
93 | fabric.properties
94 |
95 | ### Intellij Patch ###
96 | # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
97 |
98 | # *.iml
99 | # modules.xml
100 | # .idea/misc.xml
101 | # *.ipr
102 |
103 |
104 | ### OSX ###
105 | *.DS_Store
106 | .AppleDouble
107 | .LSOverride
108 |
109 | # Icon must end with two \r
110 | Icon
111 | # Thumbnails
112 | ._*
113 | # Files that might appear in the root of a volume
114 | .DocumentRevisions-V100
115 | .fseventsd
116 | .Spotlight-V100
117 | .TemporaryItems
118 | .Trashes
119 | .VolumeIcon.icns
120 | .com.apple.timemachine.donotpresent
121 | # Directories potentially created on remote AFP share
122 | .AppleDB
123 | .AppleDesktop
124 | Network Trash Folder
125 | Temporary Items
126 | .apdisk
127 |
128 |
129 | ### Java ###
130 |
131 | # BlueJ files
132 | *.ctxt
133 |
134 | # Mobile Tools for Java (J2ME)
135 | .mtj.tmp/
136 |
137 | # Package Files #
138 | *.jar
139 | *.war
140 | *.ear
141 |
142 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
143 | hs_err_pid*
144 |
145 |
146 | ### Gradle ###
147 | .gradle
148 | /build/
149 |
150 | # Ignore Gradle GUI config
151 | gradle-app.setting
152 |
153 | # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
154 | !gradle-wrapper.jar
155 |
156 | # Cache of project
157 | .gradletasknamecache
158 |
159 | # # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
160 | # gradle/wrapper/gradle-wrapper.properties
161 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # candybar-sample
2 | Sample implementation of CandyBar Material Dashboard
3 |
4 | **NOTE:** This is just Icon Pack Dashboard, not Icon Pack template or Icon Pack tutorial. You need to add required XML for Icon Pack by yourself.
5 |
--------------------------------------------------------------------------------
/app/app.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | generateDebugSources
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 |
5 | compileSdkVersion rootProject.ext.CompileSdk
6 | buildToolsVersion rootProject.ext.BuildTools
7 |
8 | android.applicationVariants.all { variant ->
9 | variant.outputs.all { output ->
10 | def appName = parent.name
11 | def fileName = appName.replace(" ", "_")
12 | outputFileName = "$fileName-v${variant.versionName}.apk"
13 | }
14 | }
15 |
16 | defaultConfig {
17 | applicationId "com.material.dashboard.candybar.sample"
18 | minSdkVersion rootProject.ext.MinSdk
19 | targetSdkVersion rootProject.ext.TargetSdk
20 | versionCode 1
21 | versionName "1.0"
22 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
23 | }
24 |
25 | buildTypes {
26 | release {
27 | minifyEnabled true
28 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
29 | }
30 | }
31 | }
32 |
33 | dependencies {
34 | compile fileTree(dir: 'libs', include: ['*.jar'])
35 |
36 | /*
37 | * CandyBar Material Dashboard Library
38 | *
39 | * How to update?
40 | * 1. See latest version at GitHub, https://github.com/danimahardhika/candybar-library/releases
41 | * 2. Change candybar dependency matching latest version
42 | * 3. com.github.danimahardhika.candybar-library:core:$versionNumber
43 | * 4. Sync Project with Gradle Files
44 | * 5. Clean project
45 | * 6. Done
46 | */
47 | compile 'com.github.danimahardhika.candybar-library:core:3.5.0-b4'
48 | }
49 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in D:\AndroidSDK/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Android Support Library
20 | -keep class !android.support.v7.internal.view.menu.**,android.support.** {*;}
21 | -keep class android.support.v7.graphics.** { *; }
22 | -dontwarn android.support.v7.graphics.**
23 |
24 | -keep class android.support.design.widget.** { *; }
25 | -keep interface android.support.design.widget.** { *; }
26 | -dontwarn android.support.design.**
27 |
28 | # Keep the source line when using ProGuard
29 | -renamesourcefileattribute SourceFile
30 | -keepattributes SourceFile,LineNumberTable
31 |
32 | # LoganSquare JSON parser
33 | -keep class com.bluelinelabs.logansquare.** { *; }
34 | -keep @com.bluelinelabs.logansquare.annotation.JsonObject class *
35 | -keep class **$$JsonObjectMapper { *; }
36 |
37 | # Java 8
38 | -dontwarn java.lang.invoke.*
39 | -dontwarn **$$Lambda$*
40 |
41 | # OkHttp
42 | -dontwarn okhttp3.**
43 | -dontwarn okio.**
44 | -dontwarn javax.annotation.**
45 |
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
18 |
19 |
27 |
28 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
158 |
159 |
164 |
165 |
166 |
167 |
168 |
170 |
171 |
172 |
173 |
178 |
181 |
182 |
183 |
184 |
185 |
--------------------------------------------------------------------------------
/app/src/main/assets/app_func_theme.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/app/src/main/assets/appfilter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/assets/desk.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/assets/drawable.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/assets/fonts/Font-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/assets/fonts/Font-Bold.ttf
--------------------------------------------------------------------------------
/app/src/main/assets/fonts/Font-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/assets/fonts/Font-Medium.ttf
--------------------------------------------------------------------------------
/app/src/main/assets/fonts/Font-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/assets/fonts/Font-Regular.ttf
--------------------------------------------------------------------------------
/app/src/main/assets/themecfg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1
4 |
5 | com.your.package.name.here
6 | Your Icon Pack Name
7 | Info
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/material/dashboard/candybar/sample/activities/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.material.dashboard.candybar.sample.activities;
2 |
3 | import android.support.annotation.NonNull;
4 |
5 | import com.dm.material.dashboard.candybar.activities.CandyBarMainActivity;
6 | import com.dm.material.dashboard.candybar.activities.configurations.ActivityConfiguration;
7 | import com.material.dashboard.candybar.sample.licenses.License;
8 |
9 | public class MainActivity extends CandyBarMainActivity {
10 |
11 | @NonNull
12 | @Override
13 | public ActivityConfiguration onInit() {
14 | return new ActivityConfiguration()
15 | .setLicenseCheckerEnabled(License.isLicenseCheckerEnabled())
16 | .setLicenseKey(License.getLicenseKey())
17 | .setRandomString(License.getRandomString())
18 | .setDonationProductsId(License.getDonationProductsId())
19 | .setPremiumRequestProducts(License.getPremiumRequestProductsId(), License.getPremiumRequestProductsCount());
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/material/dashboard/candybar/sample/activities/MuzeiActivity.java:
--------------------------------------------------------------------------------
1 | package com.material.dashboard.candybar.sample.activities;
2 |
3 | import android.support.annotation.NonNull;
4 |
5 | import com.dm.material.dashboard.candybar.activities.CandyBarMuzeiActivity;
6 | import com.material.dashboard.candybar.sample.services.MuzeiService;
7 |
8 | public class MuzeiActivity extends CandyBarMuzeiActivity {
9 |
10 | @NonNull
11 | @Override
12 | public Class> onInit() {
13 | return MuzeiService.class;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/app/src/main/java/com/material/dashboard/candybar/sample/activities/SplashActivity.java:
--------------------------------------------------------------------------------
1 | package com.material.dashboard.candybar.sample.activities;
2 |
3 | import android.support.annotation.NonNull;
4 |
5 | import com.dm.material.dashboard.candybar.activities.CandyBarSplashActivity;
6 | import com.dm.material.dashboard.candybar.activities.configurations.SplashScreenConfiguration;
7 | import com.material.dashboard.candybar.sample.R;
8 |
9 | public class SplashActivity extends CandyBarSplashActivity {
10 |
11 | @NonNull
12 | @Override
13 | public SplashScreenConfiguration onInit() {
14 | return new SplashScreenConfiguration(MainActivity.class)
15 | .setBottomText(getString(R.string.splash_screen_title));
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/app/src/main/java/com/material/dashboard/candybar/sample/applications/CandyBar.java:
--------------------------------------------------------------------------------
1 | package com.material.dashboard.candybar.sample.applications;
2 |
3 | import android.support.annotation.NonNull;
4 |
5 | import com.dm.material.dashboard.candybar.applications.CandyBarApplication;
6 |
7 | public class CandyBar extends CandyBarApplication {
8 |
9 | @NonNull
10 | @Override
11 | public Configuration onInit() {
12 | //Sample configuration
13 | Configuration configuration = new Configuration();
14 |
15 | configuration.setGenerateAppFilter(true);
16 | configuration.setGenerateAppMap(true);
17 | configuration.setGenerateThemeResources(true);
18 |
19 | return configuration;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/material/dashboard/candybar/sample/licenses/License.java:
--------------------------------------------------------------------------------
1 | package com.material.dashboard.candybar.sample.licenses;
2 |
3 | import com.dm.material.dashboard.candybar.items.InAppBilling;
4 |
5 | public class License {
6 |
7 | /*
8 | * License Checker
9 | * private static final boolean ENABLE_LICENSE_CHECKER = true; --> enabled
10 | * Change to private static final boolean ENABLE_LICENSE_CHECKER = false; if you want to disable it
11 | *
12 | * NOTE: If you disable license checker you need to remove LICENSE_CHECK permission inside AndroidManifest.xml
13 | */
14 | private static final boolean ENABLE_LICENSE_CHECKER = false;
15 |
16 | /*
17 | * NOTE: If license checker is disabled (above), just ignore this
18 | *
19 | * Generate 20 random bytes
20 | * For easy way, go to https://www.random.org/strings/
21 | * Set generate 20 random strings
22 | * Each string should be 2 character long
23 | * Check numeric digit (0-9)
24 | * Choose each string should be unique
25 | * Get string
26 | */
27 | private static final byte[] SALT = new byte[]{
28 | //Put generated random bytes below, separate with comma, ex: 14, 23, 58, 85, ...
29 |
30 | };
31 |
32 | /*
33 | * Your license key
34 | * If your app hasn't published at play store, publish it first as beta, get license key
35 | */
36 | private static final String LICENSE_KEY = "YOUR LICENSE KEY";
37 |
38 | /*
39 | * NOTE: Make sure your app name in project same as app name at play store listing
40 | * NOTE: Your InApp Purchase will works only after the apk published
41 | */
42 |
43 | /*
44 | * NOTE: If premium request disabled, just ignored this
45 | *
46 | * InApp product id for premium request
47 | * Product name displayed the same as product name displayed at play store
48 | * So make sure to name it properly, like include number of icons
49 | * Format: new InAppBilling("premium request product id", number of icons)
50 | */
51 | private static final InAppBilling[] PREMIUM_REQUEST_PRODUCTS = new InAppBilling[] {
52 | new InAppBilling("your.product.id", 1),
53 | new InAppBilling("your.product.id", 2),
54 | new InAppBilling("your.product.id", 3),
55 | new InAppBilling("your.product.id", 4)
56 | };
57 |
58 | /*
59 | * NOTE: If donation disabled, just ignored this
60 | *
61 | * InApp product id for donation
62 | * Product name displayed the same as product name displayed at play store
63 | * So make sure to name it properly
64 | * Format: new InAppBilling("donation product id")
65 | */
66 | private static final InAppBilling[] DONATION_PRODUCT = new InAppBilling[] {
67 | new InAppBilling("your.product.id"),
68 | new InAppBilling("your.product.id"),
69 | new InAppBilling("your.product.id"),
70 | new InAppBilling("your.product.id")
71 | };
72 |
73 | public static boolean isLicenseCheckerEnabled() {
74 | return ENABLE_LICENSE_CHECKER;
75 | }
76 |
77 | public static String getLicenseKey() {
78 | return LICENSE_KEY;
79 | }
80 |
81 | public static byte[] getRandomString() {
82 | return SALT;
83 | }
84 |
85 | public static String[] getPremiumRequestProductsId() {
86 | String[] productId = new String[PREMIUM_REQUEST_PRODUCTS.length];
87 | for (int i = 0; i < PREMIUM_REQUEST_PRODUCTS.length; i++) {
88 | productId[i] = PREMIUM_REQUEST_PRODUCTS[i].getProductId();
89 | }
90 | return productId;
91 | }
92 |
93 | public static int[] getPremiumRequestProductsCount() {
94 | int[] productCount = new int[PREMIUM_REQUEST_PRODUCTS.length];
95 | for (int i = 0; i < PREMIUM_REQUEST_PRODUCTS.length; i++) {
96 | productCount[i] = PREMIUM_REQUEST_PRODUCTS[i].getProductCount();
97 | }
98 | return productCount;
99 | }
100 |
101 | public static String[] getDonationProductsId() {
102 | String[] productId = new String[DONATION_PRODUCT.length];
103 | for (int i = 0 ; i < DONATION_PRODUCT.length; i++) {
104 | productId[i] = DONATION_PRODUCT[i].getProductId();
105 | }
106 | return productId;
107 | }
108 |
109 | }
110 |
--------------------------------------------------------------------------------
/app/src/main/java/com/material/dashboard/candybar/sample/services/MuzeiService.java:
--------------------------------------------------------------------------------
1 | package com.material.dashboard.candybar.sample.services;
2 |
3 | import com.dm.material.dashboard.candybar.services.CandyBarMuzeiService;
4 |
5 | public class MuzeiService extends CandyBarMuzeiService {
6 |
7 | private static final String SOURCE_NAME = "CandyBar:MuzeiArtSource";
8 |
9 | public MuzeiService() {
10 | super(SOURCE_NAME);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/drawable-nodpi/camera.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/drawable-nodpi/email.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/ic_splash_screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/drawable-nodpi/ic_splash_screen.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/keyboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/drawable-nodpi/keyboard.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_muzei_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/drawable-xxxhdpi/ic_muzei_logo.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/mipmap-hdpi/icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/mipmap-mdpi/icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/mipmap-xhdpi/icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/mipmap-xxhdpi/icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/app/src/main/res/mipmap-xxxhdpi/icon.png
--------------------------------------------------------------------------------
/app/src/main/res/values/apex_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | true
6 | true
7 | true
8 |
9 |
10 | #55000000
11 | #ff8b8b8b
12 | #ffffffff
13 | #594f4f4f
14 | #59c3c3c3
15 | #0f000000
16 | #0fffffff
17 | #c73c3c3c
18 | #ffffffff
19 | #ffffffff
20 |
21 |
23 | wall0
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/values/changelog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | November 7, 2016
6 |
7 |
11 |
12 | - Fixed many bugs
13 | - More easy to customize dashboard
14 | - Improved premium request feature
15 | - Support Android N
16 | - And many more …
17 | - Bold, Italic, and Underline
20 | ]]>
21 | - Another changelog
22 | - Another one
24 | ]]>
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | #0082B4
5 | #006EA0
6 | #23BEA5
7 |
8 | #0082B4
9 | #006EA0
10 | #23BEA5
11 |
12 |
14 | #000000
15 | #000000
16 |
17 |
18 | #F0F0F0
19 |
20 |
21 | #FFFFFF
22 | #33000000
23 |
24 | #505A64
25 | #DDFFFFFF
26 | #0082B4
27 | #0082B4
28 | #00000000
29 | #00000000
30 |
31 |
32 | #23BEA5
33 |
34 |
35 | #FFFFFFFF
36 | #FFFFFFFF
37 |
38 |
39 | #FFFFFFFF
40 | #FFFFFFFF
41 | #44FFFFFF
42 | #44FFFFFF
43 | #FFFFFFFF
44 | #FFFFFFFF
45 |
46 |
47 | #FFFFFF
48 | #181818
49 |
50 |
51 | #55000000
52 | #55FFFFFF
53 | #3323BEA5
54 | #3323BEA5
55 |
56 |
57 | #FAFAFA
58 | #000000
59 | #484848
60 | #EEFFFFFF
61 | #777777
62 | #99FFFFFF
63 | #EEEEEE
64 | #22FFFFFF
65 |
66 |
67 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dashboard_configurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | false
14 |
15 |
16 |
17 |
18 | Your Art Source Name
19 |
20 |
21 | Your Art Source Description
22 |
23 |
24 | #0082B4
25 |
26 |
27 |
28 |
29 | CandyBar
30 |
31 |
38 | https://drive.google.com/uc?id=0B0f4ypHfNKm5VHVjbXZNSS1TUUU
39 |
40 |
47 | card_landscape
48 |
49 |
51 | bold description,
53 | italic description, underline description,
54 | link inside description.
55 | ]]>
56 |
57 |
60 | https://play.google.com/store/apps/dev?id=your_developer_id
61 |
62 |
63 |
64 |
72 | https://drive.google.com/uc?id=0B0f4ypHfNKm5VHVjbXZNSS1TUUU
73 |
74 |
76 | CandyBar
77 |
78 |
79 |
80 | true
81 |
82 |
83 |
84 |
90 | true
91 |
92 |
95 | true
96 |
97 |
99 |
100 |
101 |
102 |
105 | true
106 |
107 |
110 | false
111 |
112 |
116 | 10
117 |
118 |
124 | false
125 |
126 |
129 | false
130 |
131 |
132 |
133 |
134 | your@email.com
135 |
136 |
137 |
138 |
147 | https://drive.google.com/uc?id=0B0f4ypHfNKm5TmRMSnhpb2JSalE
148 |
149 |
151 | true
152 |
153 |
156 | true
157 |
158 |
162 | true
163 |
164 |
170 | square
171 |
172 |
173 |
174 |
181 | https://drive.google.com/uc?id=0B0f4ypHfNKm5VHVjbXZNSS1TUUU
182 |
183 |
187 | https://lh3.googleusercontent.com/-KBI2HdgNtN0/AAAAAAAAAAI/AAAAAAAABpc/icnuAgrjOT4/s256-p-rw-no/photo.jpg
188 |
189 |
190 | CandyBar \nMaterial Dashboard
191 |
192 |
193 | bold description,
195 | italic description, underline description,
196 | link inside description.
197 | ]]>
198 |
199 |
207 |
208 | - https://www.instagram.com/_u/yourusername
209 | - https://twitter.com/
210 | - https://www.behance.net/
211 | - https://plus.google.com/u/1/+yourusername
212 | - http://github.com/yourusername
213 | - http://www.yourwebsite.com
214 | - your@email.com
215 |
216 |
217 |
219 | false
220 |
221 |
222 |
223 |
227 | false
228 |
229 |
230 |
231 |
232 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dashboard_icon_name_replacer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
13 | false
14 |
15 |
16 |
17 | - app_,
18 |
19 | - icon_,app_
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dashboard_icon_pack.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | CandyBar Sample
8 |
9 | Your Icon Pack Name
10 | Your Icon Pack Name
11 |
12 | Developer
13 | Developer
14 | Developer
15 | Developer
16 |
17 | http://www.yourlink.com
18 | http://www.yourlink.com/
19 |
20 | Your Icon Pack Description
21 | Your Icon Pack Description
22 | Your Icon Pack Description
23 |
24 | feature
25 |
26 | preview1
27 | preview2
28 |
29 | com.your.package.name
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/appfilter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/appmap.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/contributors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
14 |
19 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/drawable.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/theme_resources.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/themecfg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1
4 |
5 | com.your.package.name.here
6 | Your Icon Pack Name
7 | Info
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/themeinfo.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | com.your.package.name.here
7 | 1.0.0
8 | 100
9 | Theme Name
10 |
11 |
12 | #ffffff
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | google()
7 | }
8 |
9 | dependencies {
10 | classpath 'com.android.tools.build:gradle:3.0.0'
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 |
19 | repositories {
20 | mavenCentral()
21 | jcenter()
22 | google()
23 | maven { url "https://jitpack.io" }
24 | maven { url 'https://maven.google.com' }
25 | }
26 |
27 | //NOTE: This is important
28 | rootProject.ext {
29 | BuildTools = "27"
30 | MinSdk = 15
31 | TargetSdk = 26
32 | CompileSdk = 26
33 | }
34 |
35 | }
36 |
37 | task clean(type: Delete) {
38 | delete rootProject.buildDir
39 | }
40 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xms512m -Xmx1024m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/danimahardhika/candybar-sample/364b3b79ffde2068c44e5e98ce117592afb1778a/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Mar 09 07:02:46 ICT 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
7 |
--------------------------------------------------------------------------------
/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # Attempt to set APP_HOME
46 | # Resolve links: $0 may be a link
47 | PRG="$0"
48 | # Need this for relative symlinks.
49 | while [ -h "$PRG" ] ; do
50 | ls=`ls -ld "$PRG"`
51 | link=`expr "$ls" : '.*-> \(.*\)$'`
52 | if expr "$link" : '/.*' > /dev/null; then
53 | PRG="$link"
54 | else
55 | PRG=`dirname "$PRG"`"/$link"
56 | fi
57 | done
58 | SAVED="`pwd`"
59 | cd "`dirname \"$PRG\"`/" >/dev/null
60 | APP_HOME="`pwd -P`"
61 | cd "$SAVED" >/dev/null
62 |
63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64 |
65 | # Determine the Java command to use to start the JVM.
66 | if [ -n "$JAVA_HOME" ] ; then
67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68 | # IBM's JDK on AIX uses strange locations for the executables
69 | JAVACMD="$JAVA_HOME/jre/sh/java"
70 | else
71 | JAVACMD="$JAVA_HOME/bin/java"
72 | fi
73 | if [ ! -x "$JAVACMD" ] ; then
74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75 |
76 | Please set the JAVA_HOME variable in your environment to match the
77 | location of your Java installation."
78 | fi
79 | else
80 | JAVACMD="java"
81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82 |
83 | Please set the JAVA_HOME variable in your environment to match the
84 | location of your Java installation."
85 | fi
86 |
87 | # Increase the maximum file descriptors if we can.
88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89 | MAX_FD_LIMIT=`ulimit -H -n`
90 | if [ $? -eq 0 ] ; then
91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92 | MAX_FD="$MAX_FD_LIMIT"
93 | fi
94 | ulimit -n $MAX_FD
95 | if [ $? -ne 0 ] ; then
96 | warn "Could not set maximum file descriptor limit: $MAX_FD"
97 | fi
98 | else
99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100 | fi
101 | fi
102 |
103 | # For Darwin, add options to specify how the application appears in the dock
104 | if $darwin; then
105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106 | fi
107 |
108 | # For Cygwin, switch paths to Windows format before running java
109 | if $cygwin ; then
110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112 | JAVACMD=`cygpath --unix "$JAVACMD"`
113 |
114 | # We build the pattern for arguments to be converted via cygpath
115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116 | SEP=""
117 | for dir in $ROOTDIRSRAW ; do
118 | ROOTDIRS="$ROOTDIRS$SEP$dir"
119 | SEP="|"
120 | done
121 | OURCYGPATTERN="(^($ROOTDIRS))"
122 | # Add a user-defined pattern to the cygpath arguments
123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125 | fi
126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
127 | i=0
128 | for arg in "$@" ; do
129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131 |
132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134 | else
135 | eval `echo args$i`="\"$arg\""
136 | fi
137 | i=$((i+1))
138 | done
139 | case $i in
140 | (0) set -- ;;
141 | (1) set -- "$args0" ;;
142 | (2) set -- "$args0" "$args1" ;;
143 | (3) set -- "$args0" "$args1" "$args2" ;;
144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150 | esac
151 | fi
152 |
153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154 | function splitJvmOpts() {
155 | JVM_OPTS=("$@")
156 | }
157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159 |
160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
161 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------