-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (50 loc) · 1.58 KB
/
build.gradle
File metadata and controls
56 lines (50 loc) · 1.58 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
plugins {
id "java"
id "com.github.johnrengelman.shadow" version "8.1.1"
id "io.github.intisy.online-gradle" version "1.7.2"
id "io.github.intisy.github-gradle" version "1.8.2.1"
}
online {
debug = true
autoUpdate = true
updateDelay = 3600
presets = [
"https://raw.githubusercontent.com/intisy/gradle-snippets/presets/default.preset:1.8",
"https://raw.githubusercontent.com/intisy/gradle-snippets/presets/publish.preset"
]
}
github {
accessToken = System.getenv("GITHUB_TOKEN") ?: ""
}
publishGithub {
releaseName = "Release ${project.findProperty('artifact_version') ?: project.version}"
artifacts {
artifact {
classifier = ""
jar = file("build/libs/java-utils.jar")
}
artifact {
classifier = "standalone"
jar = file("build/libs/java-utils-standalone.jar")
}
}
}
repositories {
mavenLocal()
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
implementation "org.slf4j:slf4j-api:1.7.36"
implementation "ch.qos.logback:logback-classic:1.2.13"
implementation "org.apache.httpcomponents:httpclient:4.5.14"
implementation "org.kohsuke:github-api:1.99"
implementation "com.google.code.gson:gson:2.11.0"
implementation "org.eclipse.jgit:org.eclipse.jgit:5.13.3.202401111512-r"
implementation "org.kohsuke:github-api:1.324"
implementation "com.github.codemonstur:embedded-redis:1.4.3"
testImplementation "junit:junit:4.12"
}