Commit 4a0169d 1 parent 11c4839 commit 4a0169d Copy full SHA for 4a0169d
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ plugins {
4
4
id ' maven-publish'
5
5
id ' com.jfrog.bintray'
6
6
id ' java-library'
7
+ id ' org.beryx.jar' version ' 1.1.3'
7
8
}
8
9
9
10
group ' info.picocli'
10
11
description ' Picocli JPMS module.'
11
12
version " $projectVersion "
12
13
ext. moduleName = ' info.picocli'
13
- sourceCompatibility = JavaVersion . VERSION_1_9
14
- targetCompatibility = JavaVersion . VERSION_1_9
14
+ sourceCompatibility = JavaVersion . VERSION_1_8
15
+ targetCompatibility = JavaVersion . VERSION_1_8
15
16
16
17
task copyRootProjectCode (type : Copy ) {
17
18
from(" ${ rootProject.projectDir} /src/main/java" ){
@@ -35,14 +36,13 @@ test {
35
36
exclude ' picocli'
36
37
}
37
38
38
- task fatJar ( type : Jar ) {
39
+ jar {
39
40
manifest {
40
- attributes ' Implementation-Title' : ' Gradle Jar File Example ' ,
41
- ' Implementation-Version' : version
41
+ attributes ' Implementation-Title' : ' Picocli-core-module ' ,
42
+ ' Implementation-Version' : version
42
43
}
43
44
baseName = project. name + ' -all'
44
- from { configurations. compile. collect { it. isDirectory() ? it : zipTree(it) } }
45
- with jar
45
+ from { configurations. compile. collect { it. isDirectory() ? it : zipTree(it) } }
46
46
}
47
47
48
48
compileJava. dependsOn(copyRootProjectCode)
You can’t perform that action at this time.
0 commit comments