-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (53 loc) · 1.23 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
60
61
62
63
64
plugins {
id 'java'
id 'maven-publish'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'org.dom4j:dom4j:2.1.3'
implementation 'org.xerial:sqlite-jdbc:3.8.11.2'
compileOnly 'mysql:mysql-connector-java:8.0.16'
compileOnly 'javax.servlet:javax.servlet-api:3.1.0'
compileOnly 'org.shredzone.acme4j:acme4j-client:2.12'
compileOnly 'org.shredzone.acme4j:acme4j-utils:2.12'
compileOnly 'commons-fileupload:commons-fileupload:1.4'
compileOnly 'commons-io:commons-io:2.7'
testImplementation 'junit:junit:4.13.1'
testImplementation 'org.hamcrest:hamcrest-core:1.3'
testImplementation 'com.carrotsearch:junit-benchmarks:0.7.2'
}
group = 'se.koc'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
sourceSets {
main {
java {
srcDirs 'src'
}
resources {
srcDir 'src'
exclude '**/*.java'
}
}
test {
java {
srcDirs 'test'
}
}
}