-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
40 lines (31 loc) · 982 Bytes
/
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
36
37
38
39
apply plugin: 'groovy'
apply plugin: 'application'
mainClassName = 'cascade.application.MavenCascadeRelease'
buildDir = 'target'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy:2.4.10'
compile 'org.codehaus.groovy:groovy-json:2.4.10'
compile 'org.codehaus.groovy:groovy-templates:2.4.10'
compile 'commons-cli:commons-cli:1.2'
compile 'org.yaml:snakeyaml:1.18'
compile 'com.github.zafarkhaja:java-semver:0.9.0'
compile 'com.moandjiezana.toml:toml4j:0.7.2'
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.8.0'
}
task fatjar(type: Jar, dependsOn: [':compileJava', ':compileGroovy']) {
baseName = 'maven-cascade-release'
from files(sourceSets.main.output.classesDirs)
from configurations.runtime.asFileTree.files.collect {zipTree(it)}
manifest {
attributes 'Main-Class': mainClassName
}
}
//task wrapper(type: Wrapper) {
// gradleVersion = '5.5.1'
//}