23 Star 193 Fork 69

一头不安分的蜗牛 / easyble-x

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
zengfansheng 提交于 2023-05-16 17:05 . 优化搜索
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compileSdkVersion = 31
minSdkVersion = 21
targetSdkVersion = 31
kotlin_version = '1.7.10'
}
repositories {
google()
// mavenCentral()
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
// mavenCentral()
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://jitpack.io' }
}
// 指定编码
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Javadoc) {
enabled = false
options {
encoding "UTF-8"
charSet 'UTF-8'
}
options.addStringOption('Xdoclint:none', '-quiet')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Android
1
https://gitee.com/fszeng/easyble-x.git
git@gitee.com:fszeng/easyble-x.git
fszeng
easyble-x
easyble-x
master

搜索帮助