53 lines
1.5 KiB
Groovy
53 lines
1.5 KiB
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* 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 Manual available at https://docs.gradle.org/5.2.1/userguide/tutorial_java_projects.html
|
|
*/
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'eclipse'
|
|
id 'com.github.johnrengelman.shadow' version '2.0.4'
|
|
}
|
|
|
|
repositories {
|
|
// Use jcenter for resolving your dependencies.
|
|
// You can declare any Maven/Ivy/file repository here.
|
|
jcenter()
|
|
maven { url 'https://jitpack.io' }
|
|
maven {
|
|
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
|
|
content {
|
|
includeGroup 'org.bukkit'
|
|
includeGroup 'org.spigotmc'
|
|
}
|
|
}
|
|
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
}
|
|
|
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
|
|
|
dependencies {
|
|
implementation 'com.github.nitu2003:ExtraBot:v1.0p3'
|
|
implementation 'com.github.nitu2003:TConfig:1.0'
|
|
implementation 'com.github.nitu2003:SimpleDataStorage:1.2'
|
|
implementation 'com.github.nitu2003:T18n:1.3'
|
|
implementation 'com.github.hydevelop:PicqBotX:4.10.1.928'
|
|
implementation 'cn.hutool:hutool-all:4.5.10'
|
|
implementation 'com.github.hydevelop:HyCommonUtils:1.3.5.130'
|
|
compileOnly 'org.spigotmc:spigot-api:1.14.2-R0.1-SNAPSHOT'
|
|
}
|
|
|
|
shadowJar {
|
|
classifier = null
|
|
from("./") {
|
|
include 'build.gradle'
|
|
}
|
|
manifest {
|
|
attributes "Main-Class":"ren.taske.nativebot.Main"
|
|
}
|
|
}
|
|
|