1 Star 0 Fork 48

kimonik/MusicPlayer

forked from YangBin/MusicPlayer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
module_build_scripts.gradle 1.86 KB
一键复制 编辑 原始数据 按行查看 历史
YangBin 提交于 2020-09-05 00:42 . upgrade alpha built tools to stable
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.7
sourceCompatibility 1.7
}
}
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')
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Kotlin
1
https://gitee.com/kimonic/MusicPlayer.git
git@gitee.com:kimonic/MusicPlayer.git
kimonic
MusicPlayer
MusicPlayer
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385