Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.apache.tools.ant.filters.ReplaceTokens
- apply plugin: 'java'
- group = 'SrinjoySS01'
- version = '1.15.2_v1'
- sourceCompatibility = '1.8'
- targetCompatibility = '1.8'
- repositories {
- jcenter()
- mavenCentral()
- maven {
- name = 'spigotmc-repo'
- url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
- }
- maven {
- name = 'sonatype'
- url = 'https://oss.sonatype.org/content/groups/public/'
- }
- }
- dependencies {
- implementation 'net.dv8tion:JDA:4.2.0_168'
- compileOnly 'org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT'
- }
- processResources {
- from(sourceSets.main.resources.srcDirs) {
- filter ReplaceTokens, tokens: [version: version]
- }
- }
Add Comment
Please, Sign In to add comment