This repository was archived by the owner on Mar 2, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (46 loc) · 1.86 KB
/
build.gradle
File metadata and controls
57 lines (46 loc) · 1.86 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
plugins {
id("com.github.ben-manes.versions").version("0.42.0")
id("com.gradle.plugin-publish").version("2.0.0")
id("java-gradle-plugin")
id("groovy")
id("maven-publish")
}
repositories {
google()
// The gradle plugin portal, so that we can depend on other plugins.
maven {
url = "https://plugins.gradle.org/m2/"
}
}
apply from: "gradle/dependencies.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
implementation(localGroovy())
// The Lombok Gradle plugin, so that we can delombok sources if lombok would be applied.
implementation("io.freefair.gradle:lombok-plugin:5.3.3.3")
testImplementation(deps.android.tools.build.gradle)
testImplementation(deps.spock)
testCompileOnly("junit:junit:4.13.2")
}
group = "org.checkerframework"
version = "0.6.61"
gradlePlugin {
website = "https://github.com/kelloggm/checkerframework-gradle-plugin/blob/master/README.md"
vcsUrl = "https://github.com/kelloggm/checkerframework-gradle-plugin"
plugins {
checkerframeworkPlugin {
id = "org.checkerframework"
displayName = "Checker Framework Gradle Plugin"
description = "Re-usable build logic for extending the Java type system via the Checker Framework," +
" for Gradle builds"
implementationClass = "org.checkerframework.gradle.plugin.CheckerFrameworkPlugin"
tags.set(["checkerframework", "checker", "typechecker", "pluggable types", "formal verification"])
}
}
}
apply from: "gradle/compile.gradle"
// Gradle 7+ requires a duplicates strategy whenever there might be duplication,
// even if the cause is some other plugin (which I think is the case for us).
// This setting (INCLUDE) was the default for Gradle 6 and earlier.
tasks.withType(Copy).all { duplicatesStrategy = DuplicatesStrategy.INCLUDE}