build.gradle (1016B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 apply plugin: 'java-library' 6 apply plugin: 'kotlin' 7 8 dependencies { 9 implementation libs.detekt.api 10 11 testImplementation libs.detekt.api 12 testImplementation libs.detekt.test 13 testImplementation platform(libs.junit.bom) 14 testImplementation libs.junit4 15 testRuntimeOnly libs.junit.platform.launcher 16 testRuntimeOnly libs.junit.vintage 17 } 18 19 tasks.register("lintRelease") { 20 doLast { 21 // Do nothing. We execute the same set of tasks for all our modules in parallel on taskcluster. 22 // This project doesn't have a lint task. 23 } 24 } 25 26 tasks.register("assembleAndroidTest") { 27 doLast { 28 // Do nothing. Like the `lint` task above this is just a dummy task so that this module 29 // behaves like our others and we do not need to special case it in automation. 30 } 31 }