update build.gradle

This commit is contained in:
Chris 2020-12-24 04:49:05 +01:00
parent 1a104c903f
commit 29f2760136
1 changed files with 10 additions and 38 deletions

View File

@ -1,47 +1,19 @@
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'Markus' at '07.02.17 23:12' with Gradle 3.1
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/3.1/userguide/tutorial_java_projects.html
*/
plugins {
id "groovy"
id "java-gradle-plugin"
id "maven-publish"
id "com.gradle.plugin-publish" version "0.11.0"
id "com.github.ben-manes.versions" version "0.28.0"
}
// Apply the java plugin to add support for Java
apply plugin: 'java'
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
maven {
url "https://hub.spigotmc.org/nexus/content/groups/public/"
}
maven {
url "http://repo.ess3.net/content/groups/essentials"
}
maven {
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
url = "http://nexus.hc.to/content/repositories/pub_releases"
}
maven {
url = "http://maven.elmakers.com/repository/"
}
flatDir {
dir 'lib'
url 'https://papermc.io/repo/repository/maven-public/'
}
}
// In this section you declare the dependencies for your production and test code
dependencies {
compile group: 'org.spigotmc', name: 'spigot-api', version: '1.11.2-R0.1-SNAPSHOT'
compile group: 'net.ess3', name: 'Essentials', version: 'Pre2.13.1.7'
compile name: 'sqlite-jdbc-3.16.1'
compileOnly 'com.destroystokyo.paper:paper-api:1.16.4-R0.1-SNAPSHOT'
}
jar {
destinationDir = file('artifacts/jar')
}