forked from micronaut-projects/micronaut-servlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (31 loc) · 1.06 KB
/
build.gradle
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
28
29
30
31
32
33
34
35
36
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "io.micronaut.build.internal:micronaut-gradle-plugins:3.0.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.gradle:test-retry-gradle-plugin:1.2.1"
}
}
subprojects { Project subproject ->
group "io.micronaut.servlet"
apply plugin: "io.micronaut.build.internal.common"
if (!subproject.name.startsWith('test-')) {
apply plugin: "io.micronaut.build.internal.dependency-updates"
apply plugin: "io.micronaut.build.internal.publishing"
}
apply plugin: "org.gradle.test-retry"
boolean isCiServer = System.getenv().containsKey("GITHUB_RUN_ID")
test {
if (isCiServer) {
retry {
maxRetries = 3
maxFailures = 20
failOnPassedAfterRetry = false
}
}
}
}
apply plugin: "io.micronaut.build.internal.docs"
apply plugin: "io.micronaut.build.internal.dependency-updates"