Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gradle lint #1096

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'com.liferay.node' version '4.4.0'
id 'com.github.psxpaul.execfork' version '0.1.8'
id 'com.palantir.git-version' version '0.11.0'
id 'nebula.lint' version '16.1.1'
id 'com.palantir.git-version' version '0.12.3'
}

Expand Down Expand Up @@ -102,6 +104,10 @@ test {
}
}

gradleLint {
rules = ['unused-dependency']
}

shadowJar {
archiveName = 'RepoSense.jar'
destinationDir = file("${buildDir}/jar/")
Expand Down