From 29f27601368b15ed34c981912460d76219e70f0a Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 24 Dec 2020 04:49:05 +0100 Subject: [PATCH] update build.gradle --- build.gradle | 48 ++++++++++-------------------------------------- 1 file changed, 10 insertions(+), 38 deletions(-) diff --git a/build.gradle b/build.gradle index 27567d5..b3afaf8 100644 --- a/build.gradle +++ b/build.gradle @@ -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') -} \ No newline at end of file