1 Star 0 Fork 45

洞庭清波 / MusicPlayer

forked from YangBin / MusicPlayer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
module_build_scripts.gradle 1.86 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
洞庭清波 提交于 2020-12-11 22:14 . 更新一些库版本和kotlin版本
if (isIndependentApk.toBoolean()) {
apply plugin: 'com.android.application'
} else {
apply plugin: 'com.android.library'
}
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion compile_sdk.toInteger()
defaultConfig {
minSdkVersion min_sdk.toInteger()
targetSdkVersion target_sdk
versionCode 1
versionName "1.0"
resourcePrefix project.getName()
if (isIndependentApk.toBoolean()) {
applicationId "tech.summerly.quiet." + project.getName()
}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
if (isIndependentApk.toBoolean()) {
manifest.srcFile 'src/main/AndroidManifest_debug.xml'
} else {
manifest.srcFile 'src/main/AndroidManifest.xml'
java {
exclude 'debug/**'
}
}
}
}
packagingOptions {
exclude 'META-INF/main.kotlin_module'
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
kotlin {
experimental {
coroutines "enable"
}
}
kapt {
arguments {
arg("moduleName", project.getName())
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
kapt 'com.alibaba:arouter-compiler:1.1.4'
implementation project(path: ':commonlib')
}
Kotlin
1
https://gitee.com/batcast/MusicPlayer.git
git@gitee.com:batcast/MusicPlayer.git
batcast
MusicPlayer
MusicPlayer
master

搜索帮助

14c37bed 8189591 565d56ea 8189591