0

gitignore + created gradle build file and moved manifest props into it

This commit is contained in:
David
2018-11-07 17:47:29 +01:00
parent 4810dcf339
commit 41741bebc4
3 changed files with 35 additions and 3 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.gradle
build

33
build.gradle Normal file
View File

@@ -0,0 +1,33 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:4.0.2"
}
}
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "java"
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
implementation "com.github.RedstonerServer:CommandManager:master-SNAPSHOT"
implementation "com.github.RedstonerServer:ChatAPI:master-SNAPSHOT"
implementation "com.github.RedstonerServer:ChestAPI:master-SNAPSHOT"
compileOnly 'org.spigotmc:spigot-api:1.13.1-R0.1-SNAPSHOT'
}
jar {
manifest {
attributes "Class-Path": "../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar"
}
}

View File

@@ -1,3 +0,0 @@
Manifest-Version: 1.0
Class-Path: ../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar