2021-03-04 12:54:18 +00:00
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'java'
|
2021-03-11 06:32:24 +00:00
|
|
|
id "com.github.johnrengelman.shadow" version "6.1.0"
|
2021-03-04 12:54:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = 'io.github.simpledev'
|
|
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
sourceCompatibility = '1.8'
|
|
|
|
targetCompatibility = '1.8'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2021-03-11 06:32:24 +00:00
|
|
|
|
|
|
|
maven {
|
|
|
|
name = 'jitpack.io'
|
|
|
|
url = 'https://jitpack.io'
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
name = 'npc-lib'
|
|
|
|
url = 'https://github.com/juliarn/NPC-Lib'
|
|
|
|
}
|
|
|
|
|
2021-03-04 12:54:18 +00:00
|
|
|
maven {
|
|
|
|
name = 'papermc-repo'
|
|
|
|
url = 'https://papermc.io/repo/repository/maven-public/'
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
name = 'minecraft-repo'
|
|
|
|
url = 'https://libraries.minecraft.net/'
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
name = 'sonatype'
|
|
|
|
url = 'https://oss.sonatype.org/content/groups/public/'
|
|
|
|
}
|
2021-03-11 06:32:24 +00:00
|
|
|
|
2021-03-04 12:54:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly 'com.destroystokyo.paper:paper-api:1.16.4-R0.1-SNAPSHOT'
|
2021-03-11 06:32:24 +00:00
|
|
|
compileOnly 'com.mojang:authlib:1.5.21'
|
|
|
|
implementation 'com.github.juliarn:npc-lib:2.4-RELEASE'
|
2021-03-04 12:54:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
filter ReplaceTokens, tokens: [version: version]
|
|
|
|
}
|
|
|
|
}
|