mirror of
https://github.com/SimplexDevelopment/StrikePlugin.git
synced 2024-12-22 17:07:37 +00:00
55 lines
1.1 KiB
Groovy
55 lines
1.1 KiB
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
plugins {
|
|
id 'java'
|
|
id "com.github.johnrengelman.shadow" version "6.1.0"
|
|
}
|
|
|
|
group = 'io.github.simpledev'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
sourceCompatibility = '1.8'
|
|
targetCompatibility = '1.8'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
maven {
|
|
name = 'jitpack.io'
|
|
url = 'https://jitpack.io'
|
|
}
|
|
|
|
maven {
|
|
name = 'npc-lib'
|
|
url = 'https://github.com/juliarn/NPC-Lib'
|
|
}
|
|
|
|
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/'
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'com.destroystokyo.paper:paper-api:1.16.4-R0.1-SNAPSHOT'
|
|
compileOnly 'com.mojang:authlib:1.5.21'
|
|
implementation 'com.github.juliarn:npc-lib:2.4-RELEASE'
|
|
}
|
|
|
|
processResources {
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
filter ReplaceTokens, tokens: [version: version]
|
|
}
|
|
}
|