diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 35334ee..f8d74cb 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -4,6 +4,11 @@ * https://github.com/ysb33r/ivypot-gradle-plugin/issues/2[Issue #2] - Add support for `repositories.flatDir`. +== 0.3.6 + +* https://github.com/ysb33r/ivypot-gradle-plugin/issues/10[Issue #10] - Fixes issues that was suppose to be fixed by https://github.com/ysb33r/ivypot-gradle-plugin/issues/8[Issue #9]. +* Compatibility check up to Gradle 2.11 + == 0.3.5 * https://github.com/ysb33r/ivypot-gradle-plugin/issues/8[Issue #9] - Cannot use pattern-based Ivy Resolver since Gradle 2.3. diff --git a/build.gradle b/build.gradle index 5d5e032..4bbe05a 100644 --- a/build.gradle +++ b/build.gradle @@ -37,7 +37,7 @@ apply plugin : 'org.ysb33r.gradletest' apply from: 'gradle/integration-tests.gradle' -version = '0.3.6-SNAPSHOT' +version = '0.3.6' group = 'org.ysb33r.gradle' sourceCompatibility = 1.6 targetCompatibility = 1.6 @@ -124,6 +124,9 @@ gradleTest { versions '2.4' versions '2.7' versions '2.8' + versions '2.9' + versions '2.10' + versions '2.11' inputs.files jar inputs.dir file('gradleTest') diff --git a/src/main/groovy/org/ysb33r/gradle/ivypot/OfflineRepositorySync.groovy b/src/main/groovy/org/ysb33r/gradle/ivypot/OfflineRepositorySync.groovy index 5c1a635..197878b 100644 --- a/src/main/groovy/org/ysb33r/gradle/ivypot/OfflineRepositorySync.groovy +++ b/src/main/groovy/org/ysb33r/gradle/ivypot/OfflineRepositorySync.groovy @@ -287,7 +287,7 @@ class OfflineRepositorySync extends DefaultTask { // This handles a difference in the internal API between 2.3 & 2.4 if (DirectInstantiator.metaClass.static.hasProperty('INSTANCE')) { - instantiator - DirectInstantiator.INSTANCE + instantiator = DirectInstantiator.INSTANCE } else { instantiator = new DirectInstantiator() }