30 lines
659 B
Groovy
30 lines
659 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
group = 'com.majinnaibu.bukkitplugins'
|
|
description = 'Metropolis'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
}
|
|
|
|
tasks.named('updateDaemonJvm') {
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
tasks.named('wrapper') {
|
|
gradleVersion = '9.8.0'
|
|
distributionType = Wrapper.DistributionType.BIN
|
|
distributionBase = Wrapper.PathBase.PROJECT
|
|
distributionPath = '.gradle/wrapper/dists'
|
|
archiveBase = Wrapper.PathBase.PROJECT
|
|
archivePath = '.gradle/wrapper/dists'
|
|
} |