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 {
96
96
}
97
97
externalDocumentationLink {
98
98
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" )
100
100
}
101
101
externalDocumentationLink {
102
102
url = new URL (" https://developer.android.com/reference/" )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ object Libs {
28
28
const val mdc = " com.google.android.material:material:1.1.0"
29
29
30
30
object Kotlin {
31
- const val version = " 1.4.0 "
31
+ const val version = " 1.4.10 "
32
32
const val stdlib = " org.jetbrains.kotlin:kotlin-stdlib:$version "
33
33
const val gradlePlugin = " org.jetbrains.kotlin:kotlin-gradle-plugin:$version "
34
34
@@ -47,7 +47,7 @@ object Libs {
47
47
val snapshotUrl: String
48
48
get() = " https://androidx.dev/snapshots/builds/$snapshot /artifacts/ui/repository/"
49
49
50
- private const val version = " 1.0.0-alpha06 "
50
+ private const val version = " 1.0.0-alpha07 "
51
51
52
52
const val runtime = " androidx.compose.runtime:runtime:$version "
53
53
const val foundation = " androidx.compose.foundation:foundation:${version} "
@@ -57,7 +57,7 @@ object Libs {
57
57
const val material = " androidx.compose.material:material:${version} "
58
58
59
59
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} "
61
61
}
62
62
63
63
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 {
5
5
}
6
6
7
7
public final class com/google/android/material/composethemeadapter/ThemeParameters {
8
+ public static final field $stable I
8
9
public fun <init> (Landroidx/compose/material/Colors;Landroidx/compose/material/Typography;Landroidx/compose/material/Shapes;)V
9
10
public final fun component1 ()Landroidx/compose/material/Colors;
10
11
public final fun component2 ()Landroidx/compose/material/Typography;
Original file line number Diff line number Diff line change @@ -51,6 +51,13 @@ android {
51
51
// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks
52
52
checkReleaseBuilds false
53
53
}
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
+ }
54
61
}
55
62
56
63
afterEvaluate {
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import androidx.compose.ui.geometry.Size
25
25
import androidx.compose.ui.platform.ContextAmbient
26
26
import androidx.compose.ui.platform.DensityAmbient
27
27
import androidx.compose.ui.res.colorResource
28
+ import androidx.compose.ui.test.junit4.AndroidComposeTestRule
28
29
import androidx.compose.ui.text.font.FontFamily
29
30
import androidx.compose.ui.text.font.FontWeight
30
31
import androidx.compose.ui.text.font.asFontFamily
@@ -37,7 +38,6 @@ import androidx.compose.ui.unit.em
37
38
import androidx.compose.ui.unit.sp
38
39
import androidx.test.ext.junit.rules.ActivityScenarioRule
39
40
import androidx.test.filters.MediumTest
40
- import androidx.ui.test.AndroidComposeTestRule
41
41
import com.google.android.material.composethemeadapter.test.R
42
42
import org.junit.Assert.assertEquals
43
43
import org.junit.Assert.assertNotNull
Original file line number Diff line number Diff line change 16
16
17
17
package com.google.android.material.composethemeadapter
18
18
19
+ import androidx.compose.ui.test.junit4.createAndroidComposeRule
19
20
import androidx.test.filters.MediumTest
20
- import androidx.ui.test.createAndroidComposeRule
21
21
import org.junit.Rule
22
22
import org.junit.Test
23
23
import org.junit.runner.RunWith
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import android.os.Bundle
20
20
import android.widget.FrameLayout
21
21
import androidx.appcompat.app.AppCompatActivity
22
22
import androidx.compose.foundation.ScrollableColumn
23
- import androidx.compose.foundation.Text
24
23
import androidx.compose.foundation.layout.Column
25
24
import androidx.compose.foundation.layout.Spacer
26
25
import androidx.compose.foundation.layout.padding
@@ -33,6 +32,7 @@ import androidx.compose.material.Icon
33
32
import androidx.compose.material.MaterialTheme
34
33
import androidx.compose.material.OutlinedButton
35
34
import androidx.compose.material.Scaffold
35
+ import androidx.compose.material.Text
36
36
import androidx.compose.material.TextButton
37
37
import androidx.compose.material.TopAppBar
38
38
import androidx.compose.material.icons.Icons
You can’t perform that action at this time.
0 commit comments