Skip to content

Commit

Permalink
升级依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujiang2 committed Mar 29, 2021
1 parent 070108d commit 2ce8fd2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
4 changes: 1 addition & 3 deletions app/src/main/java/com/zj/test/BannerTest.kt
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
package com.zj.test

import android.widget.Toast
import androidx.compose.foundation.gestures.scrollable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.unit.dp
import com.zj.banner.model.BaseBannerBean
import com.zj.banner.BannerPager
import com.zj.banner.model.BaseBannerBean
import com.zj.banner.ui.indicator.BannerGravity
import com.zj.banner.ui.indicator.CircleIndicator
import com.zj.banner.ui.indicator.NumberIndicator
Expand Down
16 changes: 8 additions & 8 deletions banner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,28 @@ android {
}
composeOptions {
kotlinCompilerExtensionVersion compose_version
kotlinCompilerVersion '1.4.30'
kotlinCompilerVersion '1.4.31'
}
}

dependencies {

implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.android.material:material:1.3.0'
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.compose.ui:ui-tooling:$compose_version"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.0-alpha06'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.0'

implementation "dev.chrisbanes.accompanist:accompanist-coil:0.6.0"
implementation "dev.chrisbanes.accompanist:accompanist-insets:0.6.0"
implementation 'androidx.activity:activity-compose:1.3.0-alpha02'
implementation "dev.chrisbanes.accompanist:accompanist-coil:0.6.2"
implementation "dev.chrisbanes.accompanist:accompanist-insets:0.6.2"
implementation 'androidx.activity:activity-compose:1.3.0-alpha04'

implementation "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha02"
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha03"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$compose_version"
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
testImplementation 'junit:junit:4.+'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compose_version = '1.0.0-beta01'
compose_version = '1.0.0-beta02'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.0-alpha12"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.30"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 2ce8fd2

Please sign in to comment.