-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (37 loc) · 1.21 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.9.10'
id "com.github.johnrengelman.shadow" version "8.1.1"
}
group 'com.s13g.sauron'
version '0.2'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation group: 'com.google.guava', name: 'guava', version: '29.0-jre'
implementation group: 'com.google.flogger', name: 'flogger', version: '0.5.1'
implementation group: 'com.google.flogger', name: 'flogger-system-backend', version: '0.5.1'
implementation 'org.simpleframework:simple-http:6.0.1'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation "io.mockk:mockk:1.10.6"
testImplementation group: 'com.google.truth', name: 'truth', version: '1.1.2'
}
compileKotlin {
targetCompatibility = "17"
}
compileTestKotlin {
targetCompatibility = "17"
}
shadowJar {
archiveVersion = project.version
}
task sauronDaemon(type: Jar, dependsOn: shadowJar) {
archiveBaseName = 'sauron'
manifest {
attributes('Main-Class': 'com.s13g.sauron.SauronMainKt',
'Implementation-Title': 'Winston Sauron Daemon')
}
from zipTree(shadowJar.archivePath)
}