Skip to content

Commit

Permalink
Merge pull request #148 from Minecrell/gradle-2.5
Browse files Browse the repository at this point in the history
Fix compatibility with Gradle 2.5. Fixes #147
  • Loading branch information
johnrengelman committed Jul 17, 2015
2 parents e313781 + 5fb14c2 commit 77450fd
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ dependencies {
compile 'org.ow2.asm:asm-commons:5.0.3'
compile 'commons-io:commons-io:2.4'
compile 'org.apache.ant:ant:1.9.4'
compile 'org.codehaus.plexus:plexus-utils:2.0.6'

testUtilsCompile localGroovy()
testUtilsCompile gradleApi()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package com.github.jengelman.gradle.plugins.shadow.relocation

import org.gradle.mvn3.org.codehaus.plexus.util.SelectorUtils
import org.codehaus.plexus.util.SelectorUtils

import java.util.regex.Pattern

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ package com.github.jengelman.gradle.plugins.shadow.transformers
import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.apache.tools.zip.ZipEntry
import org.apache.tools.zip.ZipOutputStream
import org.codehaus.plexus.util.StringUtils
import org.gradle.api.file.FileTreeElement
import org.gradle.mvn3.org.codehaus.plexus.util.StringUtils

import java.text.SimpleDateFormat

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ package com.github.jengelman.gradle.plugins.shadow.transformers
import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.apache.tools.zip.ZipEntry
import org.apache.tools.zip.ZipOutputStream
import org.codehaus.plexus.util.IOUtil
import org.gradle.api.file.FileTreeElement
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil

/**
* A resource processor that appends content for a resource, separated by a newline.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.apache.tools.zip.ZipEntry
import org.apache.tools.zip.ZipOutputStream
import org.gradle.api.file.FileTreeElement
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.gradle.mvn3.org.codehaus.plexus.util.ReaderFactory
import org.gradle.mvn3.org.codehaus.plexus.util.WriterFactory
import org.gradle.mvn3.org.codehaus.plexus.util.xml.Xpp3Dom
import org.gradle.mvn3.org.codehaus.plexus.util.xml.Xpp3DomBuilder
import org.gradle.mvn3.org.codehaus.plexus.util.xml.Xpp3DomWriter
import org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.ReaderFactory
import org.codehaus.plexus.util.WriterFactory
import org.codehaus.plexus.util.xml.Xpp3Dom
import org.codehaus.plexus.util.xml.Xpp3DomBuilder
import org.codehaus.plexus.util.xml.Xpp3DomWriter

/**
* A resource processor that aggregates plexus <code>components.xml</code> files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.apache.tools.zip.ZipEntry
import org.apache.tools.zip.ZipOutputStream
import org.gradle.api.file.FileTreeElement
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil

/**
* Modified from eu.appsatori.gradle.fatjar.tasks.PrepareFiles.groovy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.apache.tools.zip.ZipEntry
import org.apache.tools.zip.ZipOutputStream
import org.gradle.api.file.FileTreeElement
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil

/**
* A resource processor that allows the addition of an arbitrary file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.apache.tools.zip.ZipEntry
import org.apache.tools.zip.ZipOutputStream
import org.gradle.api.file.FileTreeElement
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil

import java.util.jar.*
import java.util.jar.Attributes.Name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.apache.tools.zip.ZipEntry
import org.apache.tools.zip.ZipOutputStream
import org.gradle.api.file.FileTreeElement
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil

/**
* Resources transformer that merges Properties files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import org.gradle.api.file.FileTreeElement
import org.gradle.api.specs.Spec
import org.gradle.api.tasks.util.PatternFilterable
import org.gradle.api.tasks.util.PatternSet
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil

/**
* Modified from org.apache.maven.plugins.shade.resource.ServiceResourceTransformer.java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import org.custommonkey.xmlunit.Diff
import org.custommonkey.xmlunit.XMLAssert
import org.custommonkey.xmlunit.XMLUnit
import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil

/**
* Test for {@link ComponentsXmlResourceTransformer}.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.github.jengelman.gradle.plugins.shadow.util

import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil

import java.util.jar.JarEntry
import java.util.jar.JarOutputStream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.github.jengelman.gradle.plugins.shadow.util

import com.github.jengelman.gradle.testkit.GradleRunnerFactory
import com.github.jengelman.gradle.testkit.file.TestFile
import org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
import org.codehaus.plexus.util.IOUtil
import org.gradle.testkit.functional.ExecutionResult
import org.gradle.testkit.functional.GradleRunner
import org.junit.Rule
Expand Down

0 comments on commit 77450fd

Please sign in to comment.