chore(buildscript): Update gradle and gradle plugins

This commit is contained in:
FalsePattern 2024-02-28 22:39:41 +01:00
parent 1979d3d9aa
commit 0edbd0191b
Signed by: falsepattern
GPG key ID: E930CDEC50C50E23
2 changed files with 6 additions and 8 deletions

View file

@ -12,9 +12,9 @@ fun environment(key: String) = providers.environmentVariable(key)
plugins {
id("java") // Java support
id("java-library")
id("org.jetbrains.intellij") version("1.17.0")
id("org.jetbrains.intellij") version("1.17.2")
id("org.jetbrains.changelog") version("2.2.0")
id("org.jetbrains.grammarkit") version("2022.3.2.1")
id("org.jetbrains.grammarkit") version("2022.3.2.2")
}
val grammarKitGenDir = "build/generated/sources/grammarkit/java"
@ -116,7 +116,7 @@ allprojects {
purgeOldFiles = true
}
generateParser {
targetRoot = "${grammarKitGenDir}/parser"
targetRootOutputDir = file("${grammarKitGenDir}/parser")
purgeOldFiles = true
}
@ -186,8 +186,7 @@ project(":zig") {
generateLexer {
enabled = true
sourceFile = file("src/main/grammar/Zig.flex")
targetDir = "${grammarKitGenDir}/lexer/${rootPackagePath}/zig/lexer"
targetClass = "ZigFlexLexer"
targetOutputDir = file("${grammarKitGenDir}/lexer/${rootPackagePath}/zig/lexer")
}
generateParser {
@ -219,8 +218,7 @@ project(":zon") {
generateLexer {
enabled = true
sourceFile = file("src/main/grammar/Zon.flex")
targetDir = "${grammarKitGenDir}/lexer/${rootPackagePath}/zon/lexer"
targetClass = "ZonFlexLexer"
targetOutputDir = file("${grammarKitGenDir}/lexer/${rootPackagePath}/zon/lexer")
}
generateParser {

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME