Update desugared library configuration versions
Releasing support for Base64.
jdk8: No change (not updated any more)
jdk11_legacy: No change (not updated any more)
jdk11_minimal, jdk11 and jdk11_nio: 2.0.4
jdk11_minimal has not changed as it does not include Base64, but updated
version anyway to keep same version for all jdk11 versions.
Using revision ed7b0012869402d8755876723d75cccd6ff652d0 of
https://github.com/google/desugar_jdk_libs obtained with:
tools/desugar_jdk_libs_update.py
--desugar-jdk-libs-revision ed7b0012869402d8755876723d75cccd6ff652d0
Bug: b/308750535
Change-Id: I0fd56e7db04946a8098e2fce37179227b44be651
diff --git a/tools/desugar_jdk_libs_repository.py b/tools/desugar_jdk_libs_repository.py
index d2ebeac..6d44d23 100755
--- a/tools/desugar_jdk_libs_repository.py
+++ b/tools/desugar_jdk_libs_repository.py
@@ -248,7 +248,23 @@
print()
print("deployed to Maven repository at " + args.repo_root + ".")
print()
- print("Add")
+ print("For Kotlin Script add")
+ print()
+ print(" maven(url = \"file:///tmp/repo\")")
+ print()
+ print(
+ "to dependencyResolutionManagement.repositories in settings.gradle.kts, and use"
+ )
+ print(
+ 'the "changing" property of the coreLibraryDesugaring dependency:')
+ print()
+ print(" coreLibraryDesugaring('com.android.tools:%s:%s') {" %
+ (artifact, version))
+ print(" isChanging = true")
+ print(" }")
+ print()
+
+ print("For Grovey add")
print()
print(" maven {")
print(" url uri('file://" + args.repo_root + "')")
@@ -266,8 +282,8 @@
print(" }")
print()
print(
- 'If not using the "changing" propertyRemember to run gradle with ' +
- " --refresh-dependencies (./gradlew --refresh-dependencies ...) " +
+ 'If not using the "changing" property remember to run gradle with ' +
+ "--refresh-dependencies (./gradlew --refresh-dependencies ...) " +
"to ensure the cache is not used when the same version is published."
+ "multiple times.")