-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
58 lines (47 loc) · 1.24 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'com.github.breadmoirai.github-release' version '2.4.1'
id 'java'
id 'idea'
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
shadowJar {
manifest {
attributes 'Main-Class': 'com.github.jwoschitz.avro.tool.AvroCountTool'
}
}
dependencies {
implementation 'ch.qos.logback:logback-classic:1.4.6'
implementation ('org.apache.avro:avro-tools:1.11.1') {
exclude group: 'org.slf4j'
exclude group: 'org.apache.logging.log4j'
exclude group: 'log4j'
}
implementation ('net.java.dev.jets3t:jets3t:0.9.4') {
exclude group: 'org.slf4j'
exclude group: 'org.apache.logging.log4j'
exclude group: 'log4j'
}
testImplementation 'junit:junit:4.13.2'
}
githubRelease {
token project.hasProperty('githubToken') ? githubToken : '-'
owner 'jwoschitz'
repo 'avrocount'
tagName project.version
targetCommitish 'master'
generateReleaseNotes false
body 'Release v' + project.version
releaseAssets shadowJar.archiveFile
allowUploadToExisting.set false
overwrite false
dryRun false
}
jar.enabled = false
artifacts {
shadowJar;
}
build.dependsOn(shadowJar);