-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
76 lines (63 loc) · 2.33 KB
/
build.gradle.kts
File metadata and controls
76 lines (63 loc) · 2.33 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
plugins {
id("java-library")
id("io.papermc.paperweight.userdev") version "2.0.0-beta.17"
id("com.gradleup.shadow") version "8.3.8"
id("maven-publish")
}
group = "gg.nextforge"
version = "1.1-SNAPSHOT"
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
paperweight.paperDevBundle("1.19.1-R0.1-SNAPSHOT")
implementation("gg.nextforge:nextlicenses-client:1.3-SNAPSHOT")
// JDBC Backends
implementation("com.mysql:mysql-connector-j:9.4.0")
implementation("com.h2database:h2:2.2.224")
// MongoDB
implementation("org.mongodb:mongodb-driver-sync:5.1.0")
// JSON
implementation("com.fasterxml.jackson.core:jackson-databind:2.17.1")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.1")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.1")
// Lombok
compileOnly("org.projectlombok:lombok:1.18.38")
annotationProcessor("org.projectlombok:lombok:1.18.38")
// Dependency Injection
implementation("org.apache.maven:maven-model:4.0.0-rc-4")
implementation("org.apache.maven.resolver:maven-resolver-connector-basic:2.0.10")
implementation("org.apache.maven.resolver:maven-resolver-transport-http:1.9.24")
implementation("org.apache.maven.resolver:maven-resolver-transport-file:2.0.10")
implementation("org.apache.maven.resolver:maven-resolver-spi:2.0.10")
implementation("org.eclipse.aether:aether-spi:1.1.0")
implementation("org.apache.maven.shared:maven-shared-utils:3.4.2")
implementation("org.apache.maven:maven-resolver-provider:3.9.11")
implementation("org.apache.maven.resolver:maven-resolver-api:2.0.10")
// Hashing
implementation("commons-codec:commons-codec:1.19.0")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.release.set(17)
}
tasks.test {
useJUnitPlatform()
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
groupId = "gg.nextforge"
artifactId = "nextcore"
version = project.version.toString()
}
}
repositories {
mavenLocal()
}
}