This repository was archived by the owner on May 19, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
groovy/com/github/jrubygradle/jar
resources/META-INF/gradle-plugins
test/groovy/com/github/jrubygradle/jar Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 44
44
// Use the default GEM installation directory
45
45
defaultGems()
46
46
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
48
49
gemDir '/path/to/my/gemDir'
49
50
50
51
// Make the JAR executable and use the default main class
Original file line number Diff line number Diff line change 1
- package com.github.jrubygradle
1
+ package com.github.jrubygradle.jar
2
2
3
3
import groovy.transform.PackageScope
4
4
import org.gradle.api.Project
Original file line number Diff line number Diff line change 1
- package com.github.jrubygradle
1
+ package com.github.jrubygradle.jar
2
2
3
+ import com.github.jrubygradle.jar.JRubyJarConfigurator
3
4
import org.gradle.api.Plugin
4
5
import org.gradle.api.Project
5
6
import org.gradle.api.Task
6
- import org.gradle.api.UnknownTaskException
7
7
import org.gradle.api.tasks.bundling.Jar
8
8
import org.gradle.api.tasks.testing.Test
9
9
Original file line number Diff line number Diff line change 1
- implementation-class =com.github.jrubygradle.JRubyJarPlugin
1
+ implementation-class =com.github.jrubygradle.jar. JRubyJarPlugin
Original file line number Diff line number Diff line change 1
- package com.github.jrubygradle
1
+ package com.github.jrubygradle.jar
2
2
3
3
import org.gradle.api.file.FileCollection
4
4
import org.gradle.api.tasks.bundling.Jar
5
5
import org.gradle.testfixtures.ProjectBuilder
6
- import spock.lang.IgnoreRest
7
6
import spock.lang.Specification
8
7
9
8
import static org.gradle.api.logging.LogLevel.LIFECYCLE
You can’t perform that action at this time.
0 commit comments