mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 06:15:21 +02:00
56 lines
1 KiB
Groovy
56 lines
1 KiB
Groovy
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 {
|
|
compileOnly(libs.bundles.geyser) {
|
|
exclude group: 'io.netty'
|
|
exclude group: 'io.netty.incubator'
|
|
}
|
|
|
|
implementation libs.sqlite
|
|
implementation libs.mysql
|
|
}
|
|
|
|
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
|
|
}
|