1 Star 0 Fork 0

XPYEX / Laser

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
XPYEX 提交于 2022-01-10 11:42 . 更改版本号
plugins {
id 'java'
}
group = 'de.Niklas'
version = '3.4.2'
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
name = 'md_5-snapshots'
url = 'https://repo.md-5.net/content/repositories/snapshots/'
}
maven {
name = 'md_5-releases'
url = 'https://repo.md-5.net/content/repositories/releases/'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
compileOnly 'fr.neatmonster:nocheatplus:3.16.1-SNAPSHOT'
}
def targetJavaVersion = 8
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
}
tasks.withType(JavaCompile).configureEach {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
options.release = targetJavaVersion
}
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}
1
https://gitee.com/xpyex/Laser.git
git@gitee.com:xpyex/Laser.git
xpyex
Laser
Laser
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891