Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ buildscript {

dependencies {
// For Apache Rat plugin to ignore non-Git files
classpath "org.ajoberstar:grgit:1.9.3"
classpath "org.ajoberstar.grgit:grgit-gradle:3.0.0"
Comment thread
dejan2609 marked this conversation as resolved.
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
classpath 'org.scoverage:gradle-scoverage:2.5.0'
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.3'
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
classpath 'org.owasp:dependency-check-gradle:4.0.2'
classpath "com.diffplug.spotless:spotless-plugin-gradle:3.17.0"
classpath "com.diffplug.spotless:spotless-plugin-gradle:3.18.0"
classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.9"
}
}
Expand Down Expand Up @@ -91,7 +91,7 @@ allprojects {
}

ext {
gradleVersion = "5.1.1"
gradleVersion = "5.2.1"
minJavaVersion = "8"
buildVersionFileName = "kafka-version.properties"

Expand Down Expand Up @@ -120,7 +120,7 @@ if (file('.git').exists()) {
rat {
// Exclude everything under the directory that git should be ignoring via .gitignore or that isn't checked in. These
// restrict us only to files that are checked in or are staged.
def repo = Grgit.open(project.getRootDir())
def repo = Grgit.open(currentDir: project.getRootDir())
excludes = new ArrayList<String>(repo.clean(ignore: false, directories: true, dryRun: true))
// And some of the files that we have checked in should also be excluded from this check
excludes.addAll([
Expand Down