mirror of
https://github.com/SimplexDevelopment/SimplexCL.git
synced 2024-11-14 22:43:33 +00:00
49 lines
923 B
Groovy
49 lines
923 B
Groovy
|
/*
|
||
|
* This file was generated by the Gradle 'init' task.
|
||
|
*/
|
||
|
|
||
|
plugins {
|
||
|
id 'java'
|
||
|
id 'maven-publish'
|
||
|
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
||
|
}
|
||
|
|
||
|
apply plugin: 'com.github.johnrengelman.shadow'
|
||
|
apply plugin: 'java'
|
||
|
|
||
|
tasks {
|
||
|
build {
|
||
|
dependsOn(shadowJar)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenLocal()
|
||
|
maven {
|
||
|
url = uri('https://papermc.io/repo/repository/maven-public/')
|
||
|
}
|
||
|
|
||
|
maven {
|
||
|
url = uri('https://oss.sonatype.org/content/groups/public/')
|
||
|
}
|
||
|
|
||
|
maven {
|
||
|
url = uri('https://repo.maven.apache.org/maven2/')
|
||
|
}
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
shadow 'org.reflections:reflections:0.10.2'
|
||
|
compileOnly 'io.papermc.paper:paper-api:1.18.1-R0.1-SNAPSHOT'
|
||
|
}
|
||
|
|
||
|
group = 'io.github.simplex'
|
||
|
version = '1.0.0'
|
||
|
description = 'SimplexCL'
|
||
|
java.sourceCompatibility = JavaVersion.VERSION_17
|
||
|
|
||
|
tasks.withType(JavaCompile) {
|
||
|
options.encoding = 'UTF-8'
|
||
|
}
|