-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (32 loc) · 904 Bytes
/
build.gradle
File metadata and controls
40 lines (32 loc) · 904 Bytes
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
plugins {
// Apply the java plugin to add support for Java
id 'java'
id 'maven-publish'
}
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
mavenLocal()
jcenter()
}
sourceCompatibility = 1.8
dependencies {
// This dependency is found on compile classpath of this component and consumers.
implementation 'org.checkerframework:checker:2.9.0'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
testCompile 'org.checkerframework:testlib:2.5.4'
}
tasks.withType(JavaCompile).all {
options.compilerArgs.add("-Xlint:all")
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'org.checkerframework'
artifactId = 'StartsWithChecker'
version = '0.1-SNAPSHOT'
from components.java
}
}
}