Cronet 设置`UseDnsHttpsSvcb`等实验选项支持HTTPS 类型的dns请求,从dns HTTPS记录中就能获取到支持的alpn,用来确定升级http3。 https://github.com/chromium/chromium/commit/77379815db4354afa3a81c9dd26995c7edc76b16
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"
|
|
} |