1
0
Fork 0
tincheck/build.gradle

81 lines
2.4 KiB
Groovy
Raw Normal View History

2025-02-13 19:30:59 +00:00
plugins {
id "java"
id "io.micronaut.application" version "$micronautApplicationVersion"
2025-02-15 20:03:16 +00:00
id "io.micronaut.aot" version "$micronautApplicationVersion"
2025-02-13 19:30:59 +00:00
}
version = findProperty('BUILD_VERSION') ?: 'latest'
group = "com.devsoap"
java {
2025-02-15 20:03:16 +00:00
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
2025-02-13 19:30:59 +00:00
}
repositories {
mavenCentral()
}
dependencies {
annotationProcessor 'org.projectlombok:lombok'
2025-02-16 19:08:09 +00:00
annotationProcessor 'io.micronaut.serde:micronaut-serde-processor'
annotationProcessor("io.micronaut:micronaut-http-validation")
2025-02-15 20:03:16 +00:00
compileOnly 'org.projectlombok:lombok'
2025-02-13 19:30:59 +00:00
2025-02-15 20:03:16 +00:00
implementation(platform("io.micronaut.platform:micronaut-platform"))
2025-02-13 19:30:59 +00:00
implementation 'io.micronaut.views:micronaut-views-handlebars'
2025-02-16 19:08:09 +00:00
implementation 'io.micronaut.serde:micronaut-serde-jackson'
implementation 'io.micronaut.validation:micronaut-validation'
2025-02-13 19:30:59 +00:00
2025-02-16 19:08:09 +00:00
implementation("jakarta.annotation:jakarta.annotation-api")
2025-02-15 20:03:16 +00:00
2025-02-13 19:30:59 +00:00
implementation "io.github.resilience4j:resilience4j-micronaut:$resilience4jVersion"
implementation "io.github.resilience4j:resilience4j-ratelimiter:$resilience4jVersion"
implementation "io.github.resilience4j:resilience4j-consumer:$resilience4jVersion"
implementation "io.github.resilience4j:resilience4j-rxjava3:$resilience4jVersion"
implementation "ch.qos.logback:logback-classic"
implementation "org.slf4j:jul-to-slf4j:$julToSlf4jVersion"
implementation "org.apache.commons:commons-lang3:$commonsLangVersion"
runtimeOnly "org.webjars.npm:htmx.org:$htmxVersion"
runtimeOnly "org.webjars.npm:hyperscript.org:$hyperscriptVersion"
2025-02-16 19:08:09 +00:00
runtimeOnly "org.yaml:snakeyaml"
2025-02-13 19:30:59 +00:00
testImplementation 'org.junit.jupiter:junit-jupiter-params'
testImplementation "org.mockito:mockito-junit-jupiter:$mockitoVersion"
testImplementation "org.assertj:assertj-core:$assertJVersion"
testImplementation "org.reflections:reflections:$reflectionsVersion"
}
application {
mainClass.set("com.devsoap.tincheck.Application")
}
micronaut {
version "$micronautVersion"
runtime("netty")
2025-02-16 19:08:09 +00:00
processing {
incremental(true)
annotations("com.devsoap.tincheck.*")
}
2025-02-15 20:03:16 +00:00
aot {
cacheEnvironment = true
optimizeServiceLoading = true
optimizeClassLoading = true
convertYamlToJava = true
precomputeOperations = true
}
2025-02-13 19:30:59 +00:00
}
wrapper {
2025-02-15 20:03:16 +00:00
gradleVersion = '8.12.1'
2025-02-13 19:30:59 +00:00
}
test {
useJUnitPlatform()
failFast = true
}