2020-03-03 18:44:54 +00:00
|
|
|
/* 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
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
apply plugin: 'java-library'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
|
|
|
dependencies {
|
2020-10-19 18:07:47 +00:00
|
|
|
compileOnly Deps.kotlin_stdlib
|
|
|
|
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlin}"
|
|
|
|
compileOnly Deps.kotlin_reflect
|
|
|
|
|
2020-10-02 22:29:56 +00:00
|
|
|
compileOnly "com.android.tools.lint:lint-api:${Versions.android_lint_api}"
|
|
|
|
compileOnly "com.android.tools.lint:lint-checks:${Versions.android_lint_api}"
|
2020-10-17 00:41:08 +00:00
|
|
|
|
2020-10-19 18:07:47 +00:00
|
|
|
testImplementation Deps.kotlin_stdlib
|
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlin}"
|
|
|
|
testImplementation Deps.kotlin_reflect
|
2020-10-17 00:41:08 +00:00
|
|
|
testImplementation "com.android.tools.lint:lint:${Versions.android_lint_api}"
|
|
|
|
testImplementation "com.android.tools.lint:lint-tests:${Versions.android_lint_api}"
|
2020-10-20 20:23:43 +00:00
|
|
|
testImplementation Deps.junitApi
|
2020-03-03 18:44:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes('Lint-Registry-v2': 'org.mozilla.fenix.lintrules.LintIssueRegistry')
|
|
|
|
}
|
|
|
|
}
|