Add config for 2027

This commit is contained in:
2026-07-27 23:52:07 +02:00
parent 04dca24513
commit 3461b61e27
27 changed files with 1046 additions and 100 deletions
+20
View File
@@ -37,6 +37,26 @@ dependencies {
testImplementation 'org.testng:testng:7.10.2'
}
def envFile = file('.env')
if (envFile.exists()) {
def envVars = [:]
envFile.readLines().each { line ->
def trimmed = line.trim()
if (trimmed && !trimmed.startsWith('#')) {
def parts = trimmed.split('=', 2)
if (parts.size() == 2) {
def key = parts[0].trim()
def value = parts[1].trim()
if (value.startsWith('"') && value.endsWith('"')) {
value = value.substring(1, value.length() - 1)
}
envVars[key] = value
}
}
}
test { environment envVars }
}
jar {
manifest {
attributes(