mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
Cronet 设置`UseDnsHttpsSvcb`等实验选项支持HTTPS 类型的dns请求,从dns HTTPS记录中就能获取到支持的alpn,用来确定升级http3。
77379815db
36 lines
835 B
Groovy
36 lines
835 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
}
|
|
|
|
android {
|
|
compileSdk 33
|
|
//buildToolsVersion '32.0.0'
|
|
namespace 'me.ag2s.epublib'
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
lint {
|
|
checkDependencies true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "com.android.tools.build:gradle:$agp_version"
|
|
implementation "androidx.annotation:annotation:1.5.0"
|
|
} |