Skip to content

Commit

Permalink
Bump org.xbib.gradle.plugin.jflex from 1.7.0 to 3.0.2 (#726)
Browse files Browse the repository at this point in the history
* Bump org.xbib.gradle.plugin.jflex from 1.7.0 to 3.0.2

Bumps org.xbib.gradle.plugin.jflex from 1.7.0 to 3.0.2.

---
updated-dependencies:
- dependency-name: org.xbib.gradle.plugin.jflex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix build

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cosku Acay <[email protected]>
  • Loading branch information
dependabot[bot] and cacay authored Sep 14, 2024
1 parent 0762296 commit 32b2271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions compiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
/** Compilation */

jflex {
encoding.set(Charsets.UTF_8.name())
encoding = Charsets.UTF_8.name()
}

val compileCup by tasks.registering(CompileCupTask::class)
Expand All @@ -61,7 +61,7 @@ sourceSets {
}

tasks.compileKotlin.configure {
dependsOn(tasks.withType<org.xbib.gradle.plugin.JFlexTask>())
dependsOn(tasks.withType<org.xbib.gradle.plugin.jflex.JFlexTask>())
dependsOn(tasks.withType<CompileCupTask>())
}

Expand All @@ -76,7 +76,7 @@ tasks.withType<Test>().configureEach {
// remove if/when Dokka fixes this issue.
tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial>().configureEach {
dependsOn(compileCup)
dependsOn(tasks.withType<org.xbib.gradle.plugin.JFlexTask>())
dependsOn(tasks.withType<org.xbib.gradle.plugin.jflex.JFlexTask>())
}

abstract class CompileCupTask : DefaultTask() {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ z3-turnkey = { module = "tools.aqua:z3-turnkey", version = "4.13.0" }
[plugins]
dokka = { id = "org.jetbrains.dokka", version = "1.8.20" }
git-version = { id = "com.palantir.git-version", version = "3.0.0" }
jflex = { id = "org.xbib.gradle.plugin.jflex", version = "1.7.0" }
jflex = { id = "org.xbib.gradle.plugin.jflex", version = "3.0.2" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
Expand Down

0 comments on commit 32b2271

Please sign in to comment.