File tree Expand file tree Collapse file tree
src/main/java/com/android/tools/build/bundletool/model/version Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ Read more about the App Bundle format and Bundletool's usage at
2424Documentation of bundletool commands can be found at:
2525https://developer.android.com/studio/command-line/bundletool
2626
27+ ## Build
28+
29+ Build with: ./gradlew executableJar
30+
2731## Releases
2832
2933Latest release: [ 0.10.1] ( https://github.com/google/bundletool/releases )
Original file line number Diff line number Diff line change 1- distributionUrl =https\://services.gradle.org/distributions/gradle-4.6 -bin.zip
1+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.0 -bin.zip
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -71,12 +71,13 @@ public static Version of(String version) {
7171 .build ();
7272 }
7373
74+ String nullableQualifier = matcher .group ("qualifier" );
7475 return Version .builder ()
7576 .setFullVersion (version )
7677 .setMajorVersion (Integer .parseInt (matcher .group ("major" )))
7778 .setMinorVersion (Integer .parseInt (matcher .group ("minor" )))
7879 .setRevisionVersion (Integer .parseInt (matcher .group ("revision" )))
79- .setQualifier (matcher . group ( "qualifier" ) )
80+ .setQualifier (nullableQualifier != null ? nullableQualifier : "" )
8081 .build ();
8182 }
8283
You can’t perform that action at this time.
0 commit comments