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 plugins { 6 id 'com.android.library' 7 id 'kotlin-android' 8 id 'mozac.PublicSuffixListPlugin' 9 } 10 11 apply from: '../../../common-config.gradle' 12 apply from: '../../../publish.gradle' 13 14 android { 15 namespace = 'mozilla.components.lib.publicsuffixlist' 16 } 17 18 publicSuffixList { 19 sourceFile = file("${gradle.mozconfig.topsrcdir}/netwerk/dns/effective_tld_names.dat") 20 } 21 22 dependencies { 23 implementation libs.androidx.annotation 24 implementation libs.kotlinx.coroutines 25 26 testImplementation project(':components:support-test') 27 28 testImplementation libs.androidx.test.core 29 testImplementation libs.androidx.test.junit 30 testImplementation libs.kotlinx.coroutines.test 31 testImplementation libs.robolectric 32 } 33 34 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)