Comments (1)
//删掉github中获取版本的语句就好了
import com.qmuiteam.plugin.Dep
import java.io.ByteArrayOutputStream
import java.util.*
plugins {
id("com.android.application")
kotlin("android")
kotlin("kapt")
}
val gitVersion = 1
android {
signingConfigs {
val properties = Properties()
val propFile = project.file("release.properties")
if (propFile.exists()) {
properties.load(propFile.inputStream())
}
create("release"){
keyAlias = properties.getProperty("RELEASE_KEY_ALIAS")
keyPassword = properties.getProperty("RELEASE_KEY_PASSWORD")
storeFile = file("qmuidemo.keystore")
storePassword = properties.getProperty("RELEASE_STORE_PASSWORD")
enableV2Signing = true
}
}
compileSdk = Dep.compileSdk
compileOptions {
sourceCompatibility = Dep.javaVersion
targetCompatibility = Dep.javaVersion
}
kotlinOptions {
jvmTarget = Dep.kotlinJvmTarget
freeCompilerArgs += "-Xjvm-default=all"
}
buildFeatures {
compose = true
buildConfig = true
}
composeOptions {
kotlinCompilerExtensionVersion = Dep.Compose.version
}
defaultConfig {
applicationId = "com.qmuiteam.qmuidemo"
minSdk = Dep.minSdk
targetSdk = Dep.targetSdk
versionCode = gitVersion
versionName = Dep.QMUI.qmuiVer
ndk {
abiFilters.add("arm64-v8a")
}
}
buildTypes {
getByName("release") {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
signingConfig = signingConfigs.getByName("release")
}
}
}
dependencies {
implementation(Dep.AndroidX.appcompat)
implementation(Dep.AndroidX.annotation)
implementation(Dep.AndroidX.activity)
implementation(Dep.MaterialDesign.material)
implementation(Dep.ButterKnife.butterknife)
implementation(Dep.Compose.activity)
implementation(Dep.Compose.constraintlayout)
kapt(Dep.ButterKnife.compiler)
implementation(project(":lib"))
implementation(project(":qmui"))
implementation(project(":arch"))
implementation(project(":type"))
implementation(project(":compose"))
implementation(project(":photo"))
implementation(project(":photo-coil"))
implementation(project(":photo-glide"))
implementation(project(":editor"))
implementation(Dep.Flipper.soLoader)
implementation(Dep.Flipper.flipper)
kapt(project(":compiler"))
kapt(project(":arch-compiler"))
kapt(Dep.Glide.compiler)
implementation("com.iqiyi.xcrash:xcrash-android-lib:3.1.0")
}
from qmui_android.
Related Issues (20)
- 求更新文档 HOT 1
- 吐槽一下:你们真的好偏爱IOS HOT 1
- 轻问2.0.0view都支持rtl了吗
- 编译不过
- 可见第一个item侧滑删除问题
- 官网都打不开了啊,请问你们都是怎么看文档的啊 HOT 3
- 配置好项目的时候,点运行就爆Could not resolve all files for configuration ':app:debugRuntimeClasspath'. HOT 1
- 深色模式,跟随系统时键盘会切换深色;APP内手动选择,键盘无法切换。试了微信读书也无法正常切换键盘深色模式。
- # 吐槽
- 鸿蒙3.0.0适配问题
- 分支介绍 HOT 1
- Bottom sheet 内 跳转页面隐藏弹窗 黑色蒙层还在 回调dialog state为2
- qmui_ptr_auto_refresh not found.
- (part sticky header + viewpager) 接口请求数据如何刷新RecyclerView
- 还有在维护吗? 官网打不开 HOT 9
- 关于运行qmuidemo的注意事项 HOT 2
- 快速滑动页面崩溃No virtual method formatted HOT 2
- > ```
- QMUITabSegment2如何设置选中时的tab背景呢,通过设置indicator和setSelectedDrawable总是把文字覆盖住
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qmui_android.