This repository has been archived on 2023-04-08. You can view files and clone it, but cannot push or open issues/pull-requests.
minecraft-vanilla-tweaks/build.gradle

34 lines
718 B
Groovy
Raw Normal View History

2019-10-02 14:59:00 +02:00
apply plugin: 'java'
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/groups/public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
mavenLocal()
2019-10-02 14:59:00 +02:00
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.spigotmc:spigot:1.16.1-R0.1-SNAPSHOT'
2019-10-02 14:59:00 +02:00
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}