43 lines
1.2 KiB
Groovy
Raw Normal View History

2024-11-11 18:12:06 +09:00
apply plugin: 'com.android.library'
apply from: 'maven_publish.gradle'
android {
compileSdk 34
defaultConfig {
minSdk 14
//noinspection ExpiredTargetSdkVersion
targetSdk 31
vectorDrawables.useSupportLibrary = true
consumerProguardFiles 'proguard-rules.pro'
}
namespace 'com.wuadam.awesomewebview'
lint {
abortOnError false
}
// https://developer.android.com/build/publish-library/configure-pub-variants?hl=zh-cn#single-pub-var
// https://stackoverflow.com/a/71366104
publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.annotation:annotation:1.7.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
implementation 'com.nineoldandroids:library:2.4.0'
implementation project(':utils')
// implementation("com.thefinestartist:utils:0.9.5")
// api ('com.yanzhenjie:permission:2.0.3') {
// exclude group: 'com.android.support'
// }
}