1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-05 21:17:52 +00:00

chore: build only GPL and MIT version for beta

This commit is contained in:
Arnaud Roques 2023-05-17 21:19:43 +02:00
parent 2a358adf3c
commit eb85d9c9c5
4 changed files with 18 additions and 6 deletions

View File

@ -4,6 +4,9 @@
// also supported is to build first, with java17, then switch the java version, and run the test with java8:
// gradle clean build -x javaDoc -x test
// gradle test
println("Running build.gradle.kts")
println(project.version)
val javacRelease = (project.findProperty("javacRelease") ?: "8") as String
plugins {

View File

@ -1,2 +1,2 @@
version = 1.2023.8beta1
version = 1.2023.8beta2
org.gradle.workers.max = 3

View File

@ -1,9 +1,18 @@
// https://docs.gradle.org/current/javadoc/org/gradle/api/initialization/Settings.html
rootProject.name = "plantuml"
val isCiBuild = System.getenv("CI") != null
val version: String by settings
println("Running settings.gradle.kts")
// println(rootProject.projectDir)
println("Version is " + version)
include("plantuml-mit")
include("plantuml-epl")
include("plantuml-bsd")
include("plantuml-asl")
include("plantuml-lgpl")
if (!version.contains("beta")) {
include("plantuml-epl")
include("plantuml-bsd")
include("plantuml-asl")
include("plantuml-lgpl")
}

View File

@ -82,7 +82,7 @@ public class Version {
}
public static int beta() {
final int beta = 1;
final int beta = 2;
return beta;
}