-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (50 loc) · 1.37 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
plugins {
id 'java-library'
id 'signing'
id 'maven-publish'
}
group = 'net.yellowstrawberry'
version = '0.0.1-SNAPSHOT'
description = 'ObjectExpress'
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
api 'org.mariadb.jdbc:mariadb-java-client:3.1.4'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'ObjectExpress'
packaging = 'jar'
description = 'A Library that saves Object to DB'
licenses {
license {
name = 'The MIT License'
url = 'https://raw.githubusercontent.com/Yellowstrawberrys/ObjectExpress/main/LICENCE'
}
}
developers {
developer {
id = 'Yellowstrawberrys'
name = 'Yellowstrawberry'
email = 'eunsoo3009@hotmail.com'
}
}
}
from(components.java)
}
}
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}