forked from PintoIM/PintoServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (50 loc) · 1.22 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
59
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'java'
}
group "org.pintoim"
version "b1.2"
java {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
withSourcesJar()
}
jar {
manifest {
attributes("Main-Class": "org.pintoim.pinto.PintoServer")
}
}
build {
dependsOn shadowJar
}
task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
classifier = 'javadoc'
group = 'build'
description = 'Assembles a jar archive containing the javadocs'
}
tasks {
javadoc {
(options as StandardJavadocDocletOptions).tags(
"apiNote:a:API Note:",
"implSpec:a:Implementation Requirements:",
"implNote:a:Implementation Note:"
)
}
}
artifacts {
archives javadocJar
}
repositories {
mavenCentral()
gradlePluginPortal()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation "commons-io:commons-io:2.11.0"
implementation "org.apache.commons:commons-lang3:3.12.0"
implementation "org.json:json:20220320"
implementation "org.yaml:snakeyaml:1.33"
implementation "org.xerial:sqlite-jdbc:3.40.1.0"
implementation 'com.github.vlOd2:HottyEvents:main-SNAPSHOT'
}