1 Star 0 Fork 2

Jacco_su/easyhttp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
zengfansheng 提交于 2022-11-14 23:02 . 增加fastjson2支持
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compileSdkVersion = 29
minSdkVersion = 19
targetSdkVersion = 29
kotlin_version = '1.3.70'
appcompat_version = '1.1.0'
retrofit2_version = '2.9.0'
rxandroid_version = '2.1.1'
rxkotlin_version = '2.4.0'
fastjson_version = '1.1.71.android'
gson_version = '2.8.6'
}
repositories {
google()
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://jitpack.io' }
}
// 指定编码
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Javadoc).all {
options {
encoding "UTF-8"
charSet 'UTF-8'
}
options.addStringOption('Xdoclint:none', '-quiet')
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
kotlinOptions {
jvmTarget = '1.8'
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/m163/easyhttp.git
git@gitee.com:m163/easyhttp.git
m163
easyhttp
easyhttp
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385