Skip to content
This repository was archived by the owner on May 19, 2019. It is now read-only.

Commit ee969ce

Browse files
committed
Refactored classes into com.github.jrubugradle.jar package. Updated README as well
1 parent 59a1e69 commit ee969ce

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jar {
4444
// Use the default GEM installation directory
4545
defaultGems()
4646
47-
// Add this directory to the list of GEM installation directories
47+
// Add this GEM installation directory to the JAR.
48+
// Can be called more than once for additional directories
4849
gemDir '/path/to/my/gemDir'
4950
5051
// Make the JAR executable and use the default main class

src/main/groovy/com/github/jrubygradle/JRubyJarConfigurator.groovy renamed to src/main/groovy/com/github/jrubygradle/jar/JRubyJarConfigurator.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.jrubygradle
1+
package com.github.jrubygradle.jar
22

33
import groovy.transform.PackageScope
44
import org.gradle.api.Project

src/main/groovy/com/github/jrubygradle/JRubyJarPlugin.groovy renamed to src/main/groovy/com/github/jrubygradle/jar/JRubyJarPlugin.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package com.github.jrubygradle
1+
package com.github.jrubygradle.jar
22

3+
import com.github.jrubygradle.jar.JRubyJarConfigurator
34
import org.gradle.api.Plugin
45
import org.gradle.api.Project
56
import org.gradle.api.Task
6-
import org.gradle.api.UnknownTaskException
77
import org.gradle.api.tasks.bundling.Jar
88
import org.gradle.api.tasks.testing.Test
99

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
implementation-class=com.github.jrubygradle.JRubyJarPlugin
1+
implementation-class=com.github.jrubygradle.jar.JRubyJarPlugin

src/test/groovy/com/github/jrubygradle/JRubyJarPluginSpec.groovy renamed to src/test/groovy/com/github/jrubygradle/jar/JRubyJarPluginSpec.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
package com.github.jrubygradle
1+
package com.github.jrubygradle.jar
22

33
import org.gradle.api.file.FileCollection
44
import org.gradle.api.tasks.bundling.Jar
55
import org.gradle.testfixtures.ProjectBuilder
6-
import spock.lang.IgnoreRest
76
import spock.lang.Specification
87

98
import static org.gradle.api.logging.LogLevel.LIFECYCLE

0 commit comments

Comments
 (0)