-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.gradle.kts
27 lines (22 loc) · 960 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dependencies {
// - don't compile-depend on vaadin-core anymore: the app itself should manage Vaadin dependencies, for example
// using the gradle-flow-plugin or direct dependency on vaadin-core. The reason is that the app may wish to use the
// npm mode and exclude all webjars.
// - depend on "vaadin" instead of just "vaadin-core", to bring in Grid Pro.
// - depend on the lowest Vaadin (Vaadin 14 LTS)
compileOnly(libs.vaadin.v24.all)
testImplementation(libs.vaadin.v24.all)
api(libs.fake.servlet5)
api(libs.kaributools)
testImplementation(libs.junit.jupiter)
api(kotlin("test"))
testImplementation(libs.slf4j.simple)
// to have the class autodiscovery functionality
implementation(libs.classgraph)
}
kotlin {
explicitApi()
}
@Suppress("UNCHECKED_CAST")
val configureMavenCentral = ext["configureMavenCentral"] as (artifactId: String) -> Unit
configureMavenCentral("karibu-testing-v10")