File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ bin /
2+ build /
3+ * .jar
4+ * .class
5+ .classpath
6+ .project
7+ .settings /
8+ .gradle /
Original file line number Diff line number Diff line change 1+ apply plugin : ' groovy'
2+ apply plugin : ' maven'
3+
4+ group= ' com.github.jitpack-io'
5+ version = ' 1.0'
6+
7+ repositories {
8+ mavenCentral()
9+ }
10+
11+ configurations {
12+ groovy2_0
13+ groovy2_3
14+ }
15+
16+ sourceSets {
17+ groovy2_0. groovy. srcDirs = main. groovy. srcDirs
18+ groovy2_3. groovy. srcDirs = main. groovy. srcDirs
19+ }
20+
21+ dependencies {
22+ compile ' org.codehaus.groovy:groovy-all:2.4.5'
23+
24+ groovy2_0Compile ' org.codehaus.groovy:groovy-all:2.0.5'
25+ groovy2_3Compile ' org.codehaus.groovy:groovy-all:2.3.0'
26+ }
27+
28+ sourceSets. all { set ->
29+ def jarTask = task(" ${ set.name} Jar" , type : Jar ) {
30+ classifier = set. name
31+ from set. output
32+ }
33+
34+ artifacts {
35+ archives jarTask
36+ }
37+ }
Original file line number Diff line number Diff line change 1+ println " Hello world"
You can’t perform that action at this time.
0 commit comments