-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
42 lines (36 loc) · 970 Bytes
/
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
37
38
39
40
41
42
plugins {
id 'java'
id 'checkstyle'
id "com.github.spotbugs" version "4.2.2"
}
java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
group 'com.alphabot.security'
version '0.2-SNAPSHOT'
}
dependencies {
implementation ('com.google.crypto.tink:tink:1.6.1') {
transitive = false
}
implementation ('com.google.guava:guava:31.0.1-jre')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.1'
testImplementation 'org.assertj:assertj-core:3.19.0'
}
test {
useJUnitPlatform()
}
allprojects {
repositories {
mavenCentral()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
// Treat warnings as errors
options.compilerArgs << "-Xlint:all" << "-Xlint:-classfile" << "-Werror"
}
}
}