mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-03 22:15:34 +00:00
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
This commit is contained in:
1 parent
f763d4c472
commit
9806a083bc
129 files changed
+5068
-1506
No files matched your search
@@ -0,0 +1,45 @@
|
||||
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"
|
||||
}
|
||||
Reference in new issue
Block a user