Skip to content

Commit

Permalink
Merge pull request #55 from gradle/lptr/support-android-3.1.0
Browse files Browse the repository at this point in the history
Support Android 3.1.0
  • Loading branch information
lptr authored Mar 27, 2018
2 parents b385fb4 + cf2e60a commit 1f2f8e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Some Android plugin versions have issues with Gradle's build cache feature. When applied to an Android project this plugin applies workarounds for these issues based on the Android plugin and Gradle versions.

* Supported Gradle versions: 4.1+
* Supported Android versions: 3.0.0, 3.0.1, 3.1.0-rc03, 3.2.0-alpha01
* Supported Android versions: 3.0.0, 3.0.1, 3.1.0, 3.2.0-alpha01

**Note:** With Android 3.1.x and 3.2.x the cache-fix plugin is only required if you are using Android's data binding feature.

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ version = ["git", "describe", "--match", "[0-9]*", "--dirty"].execute().text.tri
// Maps supported Android plugin versions to the versions of Gradle that support it
def supportedVersions = [
"3.2.0-alpha01": ["4.5.1", "4.6"],
"3.1.0-rc03": ["4.4.1", "4.5.1", "4.6"],
"3.1.0": ["4.4.1", "4.5.1", "4.6"],
"3.0.0": ["4.1", "4.2.1", "4.3.1", "4.4.1", "4.5.1", "4.6"],
"3.0.1": ["4.1", "4.2.1", "4.3.1", "4.4.1", "4.5.1", "4.6"],
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class PluginApplicationTest extends AbstractTest {
false | false | "3.0.0"
false | true | "3.0.1"
false | false | "3.0.1"
false | true | "3.1.0-rc03"
true | false | "3.1.0-rc03"
false | true | "3.1.0"
true | false | "3.1.0"
false | true | "3.2.0-alpha01"
true | false | "3.2.0-alpha01"
description = warns ? "warn" : "not warn"
Expand Down
1 change: 1 addition & 0 deletions src/test/groovy/org/gradle/android/WorkaroundTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class WorkaroundTest extends Specification {
"3.1.0-rc01" | ["DataBindingDependencyArtifacts"]
"3.1.0-rc02" | ["DataBindingDependencyArtifacts"]
"3.1.0-rc03" | ["DataBindingDependencyArtifacts"]
"3.1.0" | ["DataBindingDependencyArtifacts"]
"3.2.0-alpha01" | ["DataBindingDependencyArtifacts"]
}
}

0 comments on commit 1f2f8e1

Please sign in to comment.