1 Star 0 Fork 78

somebot/classic-bluetooth

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
zengfansheng 提交于 2020-05-05 14:46 . 完成一些
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compileSdkVersion = 28
minSdkVersion = 21
targetSdkVersion = 28
kotlin_version = '1.3.72'
}
repositories {
google()
// jcenter()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.novoda:bintray-release:0.9.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
// jcenter()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
mavenCentral()
maven { url 'https://dl.bintray.com/wandersnail/androidx/' }
}
// 指定编码
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Javadoc) {
options {
encoding "UTF-8"
charSet 'UTF-8'
}
options.addStringOption('Xdoclint:none', '-quiet')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/somebot/classic-bluetooth.git
git@gitee.com:somebot/classic-bluetooth.git
somebot
classic-bluetooth
classic-bluetooth
master

搜索帮助