Transform @ExpectPlatform

This commit is contained in:
shedaniel
2020-11-12 21:44:29 +08:00
parent 84e5125cd9
commit 49f129ae8c
9 changed files with 349 additions and 28 deletions

View File

@@ -9,7 +9,9 @@ plugins {
}
group "me.shedaniel"
version = "1.0." + (System.getenv("GITHUB_RUN_NUMBER") == null ? "9999" : System.getenv("GITHUB_RUN_NUMBER"))
version = "1.1." + (System.getenv("GITHUB_RUN_NUMBER") == null ? (((short) new Random().nextInt()).abs() + 1000).toString() : System.getenv("GITHUB_RUN_NUMBER"))
logger.lifecycle(":building architect plugin v${version}")
sourceCompatibility = targetCompatibility = 1.8