You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2018/04/16 22:08:34 UTC
kudu git commit: [java] Gradle 4.6 upgrade follow up
Repository: kudu
Updated Branches:
refs/heads/master baa1e677f -> 62a829647
[java] Gradle 4.6 upgrade follow up
- Removes protobuf intellij mapping now that
it’s done by default
- Fixes a warning about leaked annotation processors
when building.
Change-Id: Ibf5cc3c7a1263b085511c825118fb814e1b65008
Reviewed-on: http://gerrit.cloudera.org:8080/10074
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Kudu Jenkins
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/62a82964
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/62a82964
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/62a82964
Branch: refs/heads/master
Commit: 62a82964724642afd51f0dbdf5b0d732489e52f9
Parents: baa1e67
Author: Grant Henke <gr...@apache.org>
Authored: Fri Apr 13 13:41:22 2018 -0500
Committer: Grant Henke <gr...@apache.org>
Committed: Mon Apr 16 22:08:16 2018 +0000
----------------------------------------------------------------------
java/gradle/compile.gradle | 1 +
java/gradle/protobuf.gradle | 7 -------
2 files changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/62a82964/java/gradle/compile.gradle
----------------------------------------------------------------------
diff --git a/java/gradle/compile.gradle b/java/gradle/compile.gradle
index 1e42acf..17e7929 100644
--- a/java/gradle/compile.gradle
+++ b/java/gradle/compile.gradle
@@ -23,6 +23,7 @@ tasks.withType(JavaCompile) {
targetCompatibility = javaCompatibility
options.encoding = encoding // make sure the encoding is defined by the project and not the system default.
options.incremental = true // enable incremental compilation.
+ options.compilerArgs << '-proc:none' // Ignore leaked annotation processors on the compile classpath.
}
// Scala configuration
http://git-wip-us.apache.org/repos/asf/kudu/blob/62a82964/java/gradle/protobuf.gradle
----------------------------------------------------------------------
diff --git a/java/gradle/protobuf.gradle b/java/gradle/protobuf.gradle
index f3d84bc..54c12cf 100644
--- a/java/gradle/protobuf.gradle
+++ b/java/gradle/protobuf.gradle
@@ -25,10 +25,3 @@ protobuf {
artifact = libs.protoc
}
}
-
-// Configure Intellij to see the generated classes.
-idea {
- module {
- generatedSourceDirs += file("${protobuf.generatedFilesBaseDir}/main/java")
- }
-}
\ No newline at end of file