Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
apply plugin: 'java-library'
apply plugin: 'kotlin'
repositories {
gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository ->
maven {
url repository
if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) {
allowInsecureProtocol = true
}
}
}
}
dependencies {
compileOnly ComponentsDependencies.tools_lintapi
compileOnly ComponentsDependencies.tools_lintchecks
testImplementation ComponentsDependencies.junit_vintage
testImplementation ComponentsDependencies.tools_lint
testImplementation ComponentsDependencies.tools_linttests
}
jar {
manifest {
attributes('Lint-Registry-v2': 'org.mozilla.fenix.lintrules.LintIssueRegistry')
}
}