Skip to content

Commit 01748dc

Browse files
committed
Added build hint androidx.appcompat.version
1 parent a9eae8b commit 01748dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maven/codenameone-maven-plugin/src/main/java/com/codename1/builders/AndroidGradleBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3328,7 +3328,7 @@ public void usesClassMethod(String cls, String method) {
33283328
if (!useAndroidX) {
33293329
supportV4Default = " compile 'com.android.support:support-v4:"+supportLibVersion+".+'\n implementation 'com.android.support:appcompat-v7:"+supportLibVersion+".+'\n";
33303330
} else {
3331-
supportV4Default = " implementation 'androidx.legacy:legacy-support-v4:1.0.0'\n implementation 'androidx.appcompat:appcompat:1.0.0'\n";
3331+
supportV4Default = " implementation 'androidx.legacy:legacy-support-v4:1.0.0'\n implementation 'androidx.appcompat:appcompat:" + request.getArg("androidx.appcompat.version", "1.0.0")+"'\n";
33323332
}
33333333

33343334
String gradleProps = "apply plugin: 'com.android.application'\n"

0 commit comments

Comments
 (0)