From e917638c502f91132115a7c31195b91f6f6beee1 Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Sun, 28 Apr 2019 17:21:00 +0800 Subject: [PATCH] build: remove checkerframework that does not support Java 11 https://github.com/typetools/checker-framework/issues/1224 --- build.gradle | 3 +-- gradle/checker-framework.gradle | 15 --------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 gradle/checker-framework.gradle diff --git a/build.gradle b/build.gradle index 14298698..cb977c38 100644 --- a/build.gradle +++ b/build.gradle @@ -25,12 +25,11 @@ apply plugin: 'org.springframework.boot' apply plugin: 'io.spring.dependency-management' apply from: "$rootDir/gradle/errorprone.gradle" apply from: "$rootDir/gradle/spotless.gradle" -apply from: "$rootDir/gradle/checker-framework.gradle" apply from: "$rootDir/gradle/jacoco.gradle" apply from: "$rootDir/gradle/sonarqube.gradle" version = '0.3.0-SNAPSHOT' -sourceCompatibility = 1.8 +sourceCompatibility = 11 repositories { mavenCentral() diff --git a/gradle/checker-framework.gradle b/gradle/checker-framework.gradle deleted file mode 100644 index d4bbb0df..00000000 --- a/gradle/checker-framework.gradle +++ /dev/null @@ -1,15 +0,0 @@ -configurations { - checkerFrameworkAnnotatedJDK { - description = 'a copy of JDK classes with Checker Framework type qualifers inserted' - } -} - -ext { - checkerFrameworkVersion = '2.5.3' -} - -dependencies { - checkerFrameworkAnnotatedJDK "org.checkerframework:jdk8:${checkerFrameworkVersion}" - annotationProcessor "org.checkerframework:checker:${checkerFrameworkVersion}" - compileOnly "org.checkerframework:checker-qual:${checkerFrameworkVersion}" -}