Skip to content

Commit

Permalink
Import ui:uikit sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ASalavei committed Feb 21, 2024
1 parent 11bc0fe commit bd01722
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compose/runtime/runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) {
api("androidx.annotation:annotation:1.1.0")
}
}
uikitMain {
dependencies {
api project(":compose:ui:ui-uikit")
}
}

commonTest.dependencies {
implementation kotlin("test")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package android.compose.runtime

import androidx.compose.ui.uikit.utils.CMPAccessibilityElement

class UIKitAccessTest {
init {
println(">> Access ${CMPAccessibilityElement()}")
}
}

0 comments on commit bd01722

Please sign in to comment.