-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (41 loc) · 1.06 KB
/
build.gradle
File metadata and controls
51 lines (41 loc) · 1.06 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
plugins {
id 'java'
id 'maven-publish'
id 'io.github.goooler.shadow' version '8.1.7' // Java 21 fix
}
group = 'dev.pixelstudios.pixellibs'
subprojects {
apply plugin: 'java'
if (plugins.hasPlugin('java')) {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'org.mongodb:mongodb-driver-sync:5.3.1'
implementation 'com.zaxxer:HikariCP:4.0.3'
implementation 'redis.clients:jedis:5.2.0'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
shadowJar {
archiveFileName = 'PixelLibs.jar'
}
processResources {
filteringCharset 'UTF-8'
expand 'version': project.version
}
}
}
tasks {
compileJava {
options.encoding = 'UTF-8'
dependsOn clean
}
shadowJar {
dependsOn clean
}
}