Files
Builders-Utilities/build.gradle
T
NotMyFault 9806a083bc Little cleanup & setup (#4)
* Setup project

* Update namespace

- Relocate bstats

* Some reformatting and documentation

* Setup issue templates

* chmod+x gradlew

* Create pull request template

* Apply license

* Exclude XMaterial from licensing
2020-09-08 20:59:30 +02:00

45 lines
974 B
Groovy

plugins {
id "java"
id "com.github.hierynomus.license" version "0.15.0"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven { url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots" }
maven { url = "https://libraries.minecraft.net/" }
maven { url = "https://repo.codemc.org/repository/maven-public" }
}
dependencies {
"compileOnly"("org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT")
"implementation"("com.mojang:authlib:1.5.25")
}
version = "1.4.0"
license {
header rootProject.file('HEADER')
mapping 'java', 'SLASHSTAR_STYLE'
ext.year = 2020
includes(["**/*.java"])
excludes(["**/XMaterial.java"])
}
processResources {
from('src/main/resources') {
include 'plugin.yml'
expand(
version: project.version
)
include 'config.yml'
include 'LICENSE'
}
}
clean.doFirst {
delete "../target"
}