TYAKLNHVG66RHRVN53OOF4FVPAY2P3D4GSMMUSWLY2XA6A5I6PQAC
include 'MSBlock', 'MSCore', 'MSDecor', 'MSItem', 'MSUtil'
mainClass: ua.com.minersstudios.whomine.${project.name}.Plugin
minecraftVersion: 1.20
versionPrefix: wmine-${minecraft-version}-v
author: MinersStudios
website: minersstudios.github.io
repositories {
mavenCentral()
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots'
subprojects {
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.+'
annotationProcessor 'org.projectlombok:lombok:1.18.+'
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.+'
annotationProcessor 'org.projectlombok:lombok:1.18.+'
project(':MSBlock') {
// apply plugin: 'java'
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
srcDirs = ['src/main/resources']
}
}
}
processResource {
'main-class': "${group}.${project.name}.Plugin"
'minecraft-version': '1.20'
'version-prefix': "wmine-${minecraft-version}-v"
'author': 'MinersStudios'
'website': 'minersstudios.github.io'
project(':MSDecor') {
// apply plugin: 'java'
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
srcDirs = ['src/main/resources']
}
}
jar {
from sourceSets.main.output
from { 'src/main/resources' }
project(':MSItem') {
// apply plugin: 'java'
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
srcDirs = ['src/main/resources']
}
}
}
}
project(':MSUtil') {
// apply plugin: 'java'
repositories {
maven {
url = 'https://jitpack.io'
}
}
dependencies {
implementation 'com.github.Scarsz:DiscordSRV:1.26.0'
compileOnly 'net.kyori:adventure-api:4.14.+'
}
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
srcDirs = ['src/main/resources']
}
}
task cleanRootBuild(type: Delete) {
delete "${rootDir}/build"
}