-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (55 loc) · 1.65 KB
/
build.gradle
File metadata and controls
63 lines (55 loc) · 1.65 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id 'java-library'
id 'groovy'
id "com.vanniktech.maven.publish" version "0.33.0"
}
repositories {
mavenCentral()
}
dependencies {
api localGroovy()
api 'com.github.mwiede:jsch:2.27.4'
api 'org.slf4j:slf4j-api:2.0.17'
testImplementation platform("org.spockframework:spock-bom:2.4-groovy-5.0")
testImplementation "org.spockframework:spock-core"
testImplementation "org.spockframework:spock-junit4"
testRuntimeOnly 'cglib:cglib-nodep:3.3.0'
testRuntimeOnly 'org.objenesis:objenesis:3.5'
testRuntimeOnly 'ch.qos.logback:logback-classic:1.5.32'
}
description = 'Groovy SSH library'
group = 'org.hidetake'
version = System.getenv('VERSION') ?: 'SNAPSHOT'
test {
useJUnitPlatform()
}
processResources {
filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: ['version': project.version])
}
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
signAllPublications()
pom {
name = parent.name
description = project.description
url = 'https://github.com/int128/gradle-ssh-plugin'
licenses {
license {
name = 'Apache-2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'int128'
name = 'Hidetake Iwata'
url = 'https://github.com/int128'
}
}
scm {
url = 'https://github.com/int128/gradle-ssh-plugin'
connection = 'scm:git:https://github.com/int128/gradle-ssh-plugin'
}
}
}