-
Notifications
You must be signed in to change notification settings - Fork 41
/
build.gradle
60 lines (50 loc) · 1.31 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
plugins {
id 'java-library'
id 'java'
}
group 'org.geysermc.extension.connect'
version '1.0.0'
repositories {
// mavenLocal()
mavenCentral()
maven {
url 'https://repo.opencollab.dev/main'
}
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
mavenContent {
snapshotsOnly()
}
}
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'https://jitpack.io'
}
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
compileOnly 'org.geysermc.geyser:api:2.4.1-SNAPSHOT'
compileOnly('org.geysermc.geyser:core:2.4.1-SNAPSHOT') {
exclude group: 'io.netty'
exclude group: 'io.netty.incubator'
}
implementation 'org.xerial:sqlite-jdbc:3.46.0.0'
implementation 'com.mysql:mysql-connector-j:9.0.0'
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveFileName = "${project.name}.jar"
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
test {
useJUnitPlatform()
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}