This repository was archived by the owner on Aug 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +15
-7
lines changed
buildSrc/src/main/java/com/google/android/material/composethemeadapter
src/androidTest/java/com/google/android/material/composethemeadapter
sample/src/main/java/com/google/android/material/composethemeadapter/sample Expand file tree Collapse file tree 7 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ subprojects {
9696 }
9797 externalDocumentationLink {
9898 url = new URL (" https://developer.android.com/reference/kotlin/" )
99- packageListUrl = new URL (" https://developer.android.com/reference/kotlin/androidx/ui/ package-list" )
99+ packageListUrl = new URL (" https://developer.android.com/reference/kotlin/androidx/package-list" )
100100 }
101101 externalDocumentationLink {
102102 url = new URL (" https://developer.android.com/reference/" )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ object Libs {
2828 const val mdc = " com.google.android.material:material:1.1.0"
2929
3030 object Kotlin {
31- const val version = " 1.4.0 "
31+ const val version = " 1.4.10 "
3232 const val stdlib = " org.jetbrains.kotlin:kotlin-stdlib:$version "
3333 const val gradlePlugin = " org.jetbrains.kotlin:kotlin-gradle-plugin:$version "
3434
@@ -47,7 +47,7 @@ object Libs {
4747 val snapshotUrl: String
4848 get() = " https://androidx.dev/snapshots/builds/$snapshot /artifacts/ui/repository/"
4949
50- private const val version = " 1.0.0-alpha06 "
50+ private const val version = " 1.0.0-alpha07 "
5151
5252 const val runtime = " androidx.compose.runtime:runtime:$version "
5353 const val foundation = " androidx.compose.foundation:foundation:${version} "
@@ -57,7 +57,7 @@ object Libs {
5757 const val material = " androidx.compose.material:material:${version} "
5858
5959 const val tooling = " androidx.ui:ui-tooling:${version} "
60- const val test = " androidx.ui:ui-test:${version} "
60+ const val test = " androidx.compose. ui:ui-test-junit4 :${version} "
6161 }
6262
6363 const val coreKtx = " androidx.core:core-ktx:1.3.1"
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ public final class com/google/android/material/composethemeadapter/MdcTheme {
55}
66
77public final class com/google/android/material/composethemeadapter/ThemeParameters {
8+ public static final field $stable I
89 public fun <init> (Landroidx/compose/material/Colors;Landroidx/compose/material/Typography;Landroidx/compose/material/Shapes;)V
910 public final fun component1 ()Landroidx/compose/material/Colors;
1011 public final fun component2 ()Landroidx/compose/material/Typography;
Original file line number Diff line number Diff line change @@ -51,6 +51,13 @@ android {
5151 // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks
5252 checkReleaseBuilds false
5353 }
54+
55+ packagingOptions {
56+ // Multiple dependencies bring these files in. Exclude them to enable
57+ // our test APK to build (has no effect on our AARs)
58+ excludes + = " /META-INF/AL2.0"
59+ excludes + = " /META-INF/LGPL2.1"
60+ }
5461}
5562
5663afterEvaluate {
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import androidx.compose.ui.geometry.Size
2525import androidx.compose.ui.platform.ContextAmbient
2626import androidx.compose.ui.platform.DensityAmbient
2727import androidx.compose.ui.res.colorResource
28+ import androidx.compose.ui.test.junit4.AndroidComposeTestRule
2829import androidx.compose.ui.text.font.FontFamily
2930import androidx.compose.ui.text.font.FontWeight
3031import androidx.compose.ui.text.font.asFontFamily
@@ -37,7 +38,6 @@ import androidx.compose.ui.unit.em
3738import androidx.compose.ui.unit.sp
3839import androidx.test.ext.junit.rules.ActivityScenarioRule
3940import androidx.test.filters.MediumTest
40- import androidx.ui.test.AndroidComposeTestRule
4141import com.google.android.material.composethemeadapter.test.R
4242import org.junit.Assert.assertEquals
4343import org.junit.Assert.assertNotNull
Original file line number Diff line number Diff line change 1616
1717package com.google.android.material.composethemeadapter
1818
19+ import androidx.compose.ui.test.junit4.createAndroidComposeRule
1920import androidx.test.filters.MediumTest
20- import androidx.ui.test.createAndroidComposeRule
2121import org.junit.Rule
2222import org.junit.Test
2323import org.junit.runner.RunWith
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import android.os.Bundle
2020import android.widget.FrameLayout
2121import androidx.appcompat.app.AppCompatActivity
2222import androidx.compose.foundation.ScrollableColumn
23- import androidx.compose.foundation.Text
2423import androidx.compose.foundation.layout.Column
2524import androidx.compose.foundation.layout.Spacer
2625import androidx.compose.foundation.layout.padding
@@ -33,6 +32,7 @@ import androidx.compose.material.Icon
3332import androidx.compose.material.MaterialTheme
3433import androidx.compose.material.OutlinedButton
3534import androidx.compose.material.Scaffold
35+ import androidx.compose.material.Text
3636import androidx.compose.material.TextButton
3737import androidx.compose.material.TopAppBar
3838import androidx.compose.material.icons.Icons
You can’t perform that action at this time.
0 commit comments