diff options
Diffstat (limited to 'mobile/android/android-components/components/tooling/detekt/build.gradle')
-rw-r--r-- | mobile/android/android-components/components/tooling/detekt/build.gradle | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mobile/android/android-components/components/tooling/detekt/build.gradle b/mobile/android/android-components/components/tooling/detekt/build.gradle new file mode 100644 index 0000000000..ad0c3eb038 --- /dev/null +++ b/mobile/android/android-components/components/tooling/detekt/build.gradle @@ -0,0 +1,28 @@ +/* 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' + +dependencies { + implementation ComponentsDependencies.tools_detekt_api + + testImplementation ComponentsDependencies.testing_junit + testImplementation ComponentsDependencies.tools_detekt_api + testImplementation ComponentsDependencies.tools_detekt_test +} + +tasks.register("lintRelease") { + doLast { + // Do nothing. We execute the same set of tasks for all our modules in parallel on taskcluster. + // This project doesn't have a lint task. + } +} + +tasks.register("assembleAndroidTest") { + doLast { + // Do nothing. Like the `lint` task above this is just a dummy task so that this module + // behaves like our others and we do not need to special case it in automation. + } +} |