Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Upgrade Gradle to 5.1.1 #279

Merged
merged 5 commits into from
Apr 26, 2019
Merged

Conversation

mr-archano
Copy link
Contributor

The base plugin was still using 4.3, but since we have introduced the compat layer (#249) this is not a strict requirement anymore.

Incidentally I have added a way to run a subset of the compatibility tests in ReleasePluginTest. By default now we will run all the tests using Gradle 5.1+ (this should speed up the PRB considerably).
If you want to run the whole suite of compatibility tests you can specify the minimum version of Gradle to consider for those at command line, eg:

./gradlew -PminGradleTestedVersion=4.10.1 clean test

@@ -103,11 +108,15 @@ class ReleasePluginTest {

@Test
void shouldGenerateJavadocs() {
skipTestWhen(configuration.android && configuration.gradleVersion >= GRADLE_4_10_1)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately I realised that the generation of the javadoc artifact is broken for recent versions of the Android Gradle Plugin, so I decided to skip these tests while we find a robust solution for it.

@mr-archano mr-archano merged commit eb88285 into gradle/support_5.4 Apr 26, 2019
@mr-archano mr-archano deleted the gradle/update_to_5.1.1 branch April 26, 2019 16:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant