plugins {
id 'java'
}
java toolchain languageVersion = JavaLanguageVersion
group = 'ua.com.minersstudios'
allprojects {
gradle projectsEvaluated {
tasks {
options compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
subprojects {
apply plugin: 'java'
repositories {
maven {
url = 'https://repo.papermc.io/repository/maven-public'
}
}
dependencies {
compileOnly 'io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.+'
annotationProcessor 'org.projectlombok:lombok:1.18.+'
}
ext {
description = 'Not set.'
minecraftVersion = '1.20'
version = "wmine-"
author = 'MinersStudios'
website = 'minersstudios.github.io'
mainClass = 'notset'
}
processResources {
{ escapeBackslash = true }
}
}
{
ext {
version = " -1"
mainClass = " .whomine.block.MSBlock"
}
}
{
ext {
version = " -1"
mainClass = " .whomine.core.MSCore"
}
}
{
ext {
version = " -1"
mainClass = " .whomine.decor.MSDecor"
}
}
{
ext {
version = " -1"
mainClass = " .whomine.item.MSItem"
}
}
{
ext {
description = 'Збірка необхідних класів для роботи наслідкових плаґінів.'
version = " -1"
mainClass = " .whomine.util.MSUtil"
}
repositories {
maven {
url 'https://nexus.scarsz.me/content/groups/public'
}
}
dependencies {
compileOnly 'com.discordsrv:discordsrv:1.26.+'
compileOnly 'net.kyori:adventure-api:4.14.+'
implementation 'org.gnu.gettext:libintl:0.18.+'
}
}
/*
publishing {
publications {
java(MavenPublication) {
groupId 'ua.com.minersstudios'
artifactId 'whomine'
version '1'
from components.java
}
}
repositories {
}
}
*/
task {
delete " /build"
}
build