-
Notifications
You must be signed in to change notification settings - Fork 419
/
build.gradle
36 lines (31 loc) · 1.13 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
plugins {
id 'java'
}
group 'info.picocli'
description 'Picocli Shell JLine3 - easily build interactive shell applications with JLine 3 and picocli.'
version "$projectVersion"
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
api rootProject
api "org.jline:jline:$jline3Version"
api "org.jline:jline-console:$jline3Version"
testImplementation "junit:junit:$junitVersion"
}
jar {
manifest {
attributes 'Specification-Title' : 'Picocli Shell JLine3',
'Specification-Vendor' : 'Remko Popma',
'Specification-Version' : archiveVersion.get(),
'Implementation-Title' : 'Picocli Shell JLine3',
'Implementation-Vendor' : 'Remko Popma',
'Implementation-Version': archiveVersion.get(),
'Automatic-Module-Name' : 'info.picocli.shell.jline3'
}
}
ext {
PUBLISH_GROUP_ID = group
PUBLISH_ARTIFACT_ID = project.name
PUBLISH_VERSION = "$projectVersion"
}
apply from: "${rootProject.projectDir}/gradle/publish-mavencentral.gradle"