mirror of
https://github.com/SimplexDevelopment/StrikePlugin.git
synced 2024-12-23 01:17:36 +00:00
48 lines
985 B
Groovy
48 lines
985 B
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'io.github.simpledev'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
sourceCompatibility = '1.8'
|
|
targetCompatibility = '1.8'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
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'
|
|
compile 'com.mojang:authlib:1.5.21'
|
|
}
|
|
|
|
processResources {
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
filter ReplaceTokens, tokens: [version: version]
|
|
}
|
|
}
|
|
|
|
task copyJar(type: Copy) {
|
|
from jar
|
|
into "E:\\Rishi\\Codes\\Java Projects\\Minecraft Plugins\\PaperMC\\1.16.4\\Server Testing\\plugins"
|
|
}
|
|
|
|
build.finalizedBy copyJar
|