代码拉取完成,页面将自动刷新
apply plugin: 'com.android.application'
apply plugin: 'de.undercouch.download'
apply plugin: 'kotlin-android'
// using download file task plugin more info at https://github.com/michel-kraemer/gradle-download-task
task downloadSubscriptionLists(type: Download) {
src([
'https://easylist-downloads.adblockplus.org/exceptionrules.txt',
'https://easylist-downloads.adblockplus.org/easylist.txt'
])
dest "./src/main/res/raw/"
overwrite true
}
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "org.adblockplus.libadblockplus.android.webviewapp"
minSdkVersion 21
targetSdkVersion 28
versionCode 40
versionName = rootProject.ext.moduleVersion
missingDimensionStrategy 'abi', 'abi_all', 'abi_arm', 'abi_arm64', 'abi_x86'
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
sourceSets {
test.java.srcDirs += 'src/test/kotlin'
androidTest.java.srcDirs += 'src/androidTest/kotlin'
}
}
dependencies {
implementation project(':adblock-android-settings')
implementation project(':adblock-android-webview')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation "com.android.support:design:28.0.0"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。