Skip to content

Commit

Permalink
Apply foojar plugin in settings convention
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 9, 2024
1 parent 2a94554 commit 837d84b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions convention-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dependencies {
implementation(gradleApi())
implementation(gradleKotlinDsl())
api(libs.gradle.develocityPlugin)
api(libs.gradle.foojayPlugin)

testImplementation(libs.kotest)
testImplementation(libs.kotest.assertions)
Expand Down
2 changes: 1 addition & 1 deletion convention-plugin/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencyResolutionManagement {
}
versionCatalogs {
create("libs") {
from("org.metaborg.spoofax3:catalog:0.3.6")
from("org.metaborg.spoofax3:catalog:0.3.7")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.gradle.kotlin.dsl.maven
@Suppress("unused")
class SettingsConventionPlugin: Plugin<Settings> {

private val catalogVersion = "0.3.6"
private val catalogVersion = "0.3.7"

@Suppress("UnstableApiUsage")
override fun apply(settings: Settings): Unit = with(settings) {
Expand All @@ -39,6 +39,9 @@ class SettingsConventionPlugin: Plugin<Settings> {
}
}

// Apply the Foojay plugin
plugins.apply("org.gradle.toolchains.foojay-resolver-convention")

// Apply and configure the Develocity plugin
plugins.apply("com.gradle.develocity")
extensions.configure(DevelocityConfiguration::class.java) {
Expand Down

0 comments on commit 837d84b

Please sign in to comment.