Ai
1 Star 0 Fork 0

xuyf/X5WebView

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
Jcwhh 提交于 2021-06-10 18:49 +08:00 . modify file formate rule
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.10"
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://maven.google.com' }
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
// JitPack
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
}
// 解决上传乱码问题
tasks.withType(Javadoc) {
options {
encoding "UTF-8"
charSet "UTF-8"
links "http://docs.oracle.com/javase/7/docs/api"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
configurations.all {
resolutionStrategy {
eachDependency { details ->
// Force all of the primary libraries to use the same version.
if (details.requested.name == 'appcompat'
&& details.requested.name == 'annotation'
&& details.requested.name == 'recyclerview') {
details.useVersion rootProject.ext.version["androidXSdkVersion"]
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuyfcodecloud/X5WebView.git
git@gitee.com:xuyfcodecloud/X5WebView.git
xuyfcodecloud
X5WebView
X5WebView
master

搜索帮助