add ConfigExtension

- update README.md with Extension Config
- add configExtension to CorePlugin
- add ConfigExtension
- add environment variable in Test tasks
- update catalog version
- update dependencies in build.gradle.kts
This commit is contained in:
2024-12-10 17:37:20 +01:00
parent 494843592a
commit ff1239e592
6 changed files with 166 additions and 5 deletions

View File

@@ -19,9 +19,11 @@ plugins {
dependencies {
implementation(hlaeja.org.eclipse.jgit)
testImplementation(hlaeja.io.mockk)
testImplementation(hlaeja.assertj.core)
testImplementation(hlaeja.junit.jupiter.params)
testImplementation(hlaeja.kotlin.reflect)
testImplementation(hlaeja.kotlin.test)
testImplementation(hlaeja.org.junit.jupiter.params)
testImplementation(hlaeja.mockk)
}
gradlePlugin.plugins.create("hlaeja-core-plugin") {
@@ -112,6 +114,8 @@ tasks {
}
}
withType<Test> {
// Set TEST_ENV environment variable for test execution
environment["TEST_ENV"] = "hlæja"
useJUnitPlatform()
}
}