Migrating to newer Gradle.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 23 Nov 2020 00:32:17 +0200
changeset 2468 cab0464c11f4
parent 2467 0498f0cc9966
child 2469 d6eb5318b6ff
Migrating to newer Gradle.
gradle.rst
--- a/gradle.rst	Sun Nov 22 22:23:50 2020 +0200
+++ b/gradle.rst	Mon Nov 23 00:32:17 2020 +0200
@@ -458,6 +458,21 @@
 https://docs.gradle.org/current/userguide/gradle_wrapper.html
   Official docs.
 
+Migrating to newer Gradle
+=========================
+
+Try to eliminate all deprecation warnings::
+
+  ./gradlew testClasses --warning-mode all
+
+Update Gradle distro to newer version::
+
+  ./gradlew wrapper --gradle-version 6.7
+
+Try to eliminate another portion of deprecation warnings and run build/tests::
+
+  ./gradlew test --warning-mode all
+
 Managing Gradle cache
 =====================