update build script (add buildSrc)

This commit is contained in:
Badbird5907
2023-01-05 19:41:00 -05:00
parent 5fe026394c
commit 63b85d3a01
6 changed files with 22 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
plugins {
id("java")
id("net.nuggetmc.java-conventions")
}
group = "net.nuggetmc"
version = "3.3.1-BETA"
repositories {
mavenCentral()

View File

@@ -1,10 +1,10 @@
plugins {
`java-library`
id("io.papermc.paperweight.userdev") version "1.3.7"
id("net.nuggetmc.java-conventions")
}
group = "net.nuggetmc"
version = "3.3.1-BETA"
description = "TerminatorPlus"
java {

View File

@@ -1,10 +1,8 @@
plugins {
id("java")
id("net.nuggetmc.java-conventions")
}
group = "net.nuggetmc"
version = "3.3.1-BETA"
val jarName = "TerminatorPlus-" + version;
repositories {

11
buildSrc/build.gradle.kts Normal file
View File

@@ -0,0 +1,11 @@
plugins {
// Support convention plugins written in Kotlin. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build.
`kotlin-dsl`
}
repositories {
// Use the plugin portal to apply community plugins in convention plugins.
gradlePluginPortal()
}
dependencies {
}

View File

@@ -0,0 +1,6 @@
plugins {
`java-library`
}
group = "net.nuggetmc"
version = "3.3.1-BETA"

View File

@@ -8,3 +8,5 @@ pluginManagement {
rootProject.name = "TerminatorPlus"
include("TerminatorPlus-Plugin")
include("TerminatorPlus-API")
// set the version