Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Explain the binary breakage of 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ysb33r committed Feb 21, 2019
2 parents ababdc8 + 8fe9b22 commit 35ceb9d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ security processes to be applied to the binary files before committing them to a

== Gradle minimum versions

* As from 0.9 the minimum supported Gradle version is 5.0.
* As from 0.9 the minimum supported Gradle version is 5.0. I have very little time to maintain this low usage plugin, so trying to make it compatible with 4.0 as well is too much effort. There is no feature change from 0.8, so if you need to use Gradle 4.x, stay with 0.8.
* As from 0.7 the minimum supported Gradle version is 4.0. (Required if you want Google repository support).
* As from 0.5 the minimum supported Gradle version in 2.8.

Expand Down
25 changes: 12 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@


// PLEASE NOTE: Integration Tests and Gradle Compatibility tests download a number of files.
import org.gradle.util.GradleVersion

plugins {
id 'groovy'
Expand All @@ -34,7 +33,7 @@ targetCompatibility = 1.8

ext {
groovyLongVer = GroovySystem.version
groovyShortVer = GroovySystem.version.replaceAll(/\.\d+$/,'')
groovyShortVer = GroovySystem.version.replaceAll(/\.\d+$/, '')

ivyJar = fileTree("${gradle.gradleHomeDir}/lib/plugins") {
include 'ivy*.jar'
Expand All @@ -56,7 +55,7 @@ dependencies {
compile localGroovy()

testCompile "org.spockframework:spock-core:1.2-groovy-${groovyShortVer}", {
exclude module : 'groovy-all'
exclude module: 'groovy-all'
}
testCompile 'org.slf4j:slf4j-api:1.7.13'
testCompile 'org.slf4j:slf4j-simple:1.7.13'
Expand All @@ -65,13 +64,13 @@ dependencies {
}

test {
systemProperties DONT_LOOK_FOR_IVY_JAR : 1
systemProperties DONT_LOOK_FOR_IVY_JAR: 1
}

integrationTest {
systemProperties TESTROOT : buildDir
systemProperties TESTROOT: buildDir

if(gradle.startParameter.isOffline()) {
if (gradle.startParameter.isOffline()) {
systemProperties OFFLINE: 1
}
}
Expand All @@ -81,18 +80,18 @@ license {
strictCheck = true
ignoreFailures = false
mapping {
groovy ='DOUBLESLASH_STYLE'
groovy = 'DOUBLESLASH_STYLE'
}
ext.year = '2013-2018'
excludes(['**/*.ad', '**/*.asciidoc', '**/*.adoc', '**/*.md','**/*.properties','**/*CompatibilitySpec.groovy'])
excludes(['**/*.ad', '**/*.asciidoc', '**/*.adoc', '**/*.md', '**/*.properties', '**/*CompatibilitySpec.groovy'])
}

pluginBundle {
description = 'A plugin that keeps a local repository for offline of isolated environments'
website = 'https://github.com/ysb33r/ivypot-gradle-plugin'
vcsUrl = 'https://github.com/ysb33r/ivypot-gradle-plugin.git'
website = 'https://github.com/ysb33r/ivypot-gradle-plugin'
vcsUrl = 'https://github.com/ysb33r/ivypot-gradle-plugin.git'

tags = ['repositoryManagement','repositories']
tags = ['repositoryManagement', 'repositories']

plugins {
ivypotPlugin {
Expand Down Expand Up @@ -124,8 +123,8 @@ gradleTest {
println " ${it.name}"
}

if(OS.windows) {
gradleArguments '-g', file("${buildDir}/gradleTest/userHome").absolutePath
if (OS.windows) {
gradleArguments '-g', file("${buildDir}/gradleTest/userHome").absolutePath.replaceAll(~$/\\/$, '/')
}
}

Expand Down

0 comments on commit 35ceb9d

Please sign in to comment.