mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 23:09:27 +00:00
Attempt to not publish specific modules
This commit is contained in:
@@ -30,6 +30,9 @@ import org.gradle.api.artifacts.ProjectDependency
|
||||
import org.gradle.kotlin.dsl.named
|
||||
import org.gradle.kotlin.dsl.the
|
||||
|
||||
fun Project.isSnapshot(): Boolean =
|
||||
version.toString().endsWith("-SNAPSHOT")
|
||||
|
||||
fun Project.fullVersion(): String {
|
||||
var version = version.toString()
|
||||
if (version.endsWith("-SNAPSHOT")) {
|
||||
|
||||
Reference in New Issue
Block a user