Skip to content

Commit

Permalink
升级Compose版本
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujiang2 committed May 21, 2021
1 parent 43e20ca commit 60042c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions banner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ android {
defaultConfig {
minSdk 21
targetSdk 30
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -72,4 +70,5 @@ android {
dependencies {
implementation "androidx.compose.material:material:$compose_version"
api "dev.chrisbanes.accompanist:accompanist-coil:0.6.2"
api "dev.chrisbanes.accompanist:accompanist-insets:0.6.2"
}
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compose_version = '1.0.0-beta04'
compose_version = '1.0.0-beta07'
}
repositories {
google()
Expand All @@ -10,7 +10,7 @@ buildscript {
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0-alpha14'
classpath 'com.android.tools.build:gradle:7.0.0-beta02'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Mar 29 15:54:41 CST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-rc-1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

0 comments on commit 60042c2

Please sign in to comment.