diff --git a/flexiui-core/build.gradle.kts b/flexiui-core/build.gradle.kts index 55f7d28..c8db853 100644 --- a/flexiui-core/build.gradle.kts +++ b/flexiui-core/build.gradle.kts @@ -55,6 +55,8 @@ android { compileSdk = property.project.android.compileSdk sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") + sourceSets["main"].res.srcDirs("src/androidMain/res") + sourceSets["main"].resources.srcDirs("src/commonMain/resources") defaultConfig { minSdk = property.project.android.minSdk diff --git a/flexiui-core/src/commonMain/kotlin/com/highcapable/flexiui/resources/IconRes.kt b/flexiui-core/src/commonMain/kotlin/com/highcapable/flexiui/resources/IconRes.kt new file mode 100644 index 0000000..3c194cd --- /dev/null +++ b/flexiui-core/src/commonMain/kotlin/com/highcapable/flexiui/resources/IconRes.kt @@ -0,0 +1,29 @@ +/* + * Flexi UI - A flexible and useful UI component library. + * Copyright (C) 2019-2023 HighCapable + * https://github.com/BetterAndroid/FlexiUI + * + * Apache License Version 2.0 + * + * 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 + * + * https://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. + * + * This file is created by fankes on 2023/11/10. + */ +@file:Suppress("unused") + +package com.highcapable.flexiui.resources + +object IconRes { + + const val CHECKMARK = "ic-checkmark.xml" +} \ No newline at end of file diff --git a/flexiui-core/src/commonMain/resources/ic-checkmark.xml b/flexiui-core/src/commonMain/resources/ic-checkmark.xml new file mode 100644 index 0000000..02486e3 --- /dev/null +++ b/flexiui-core/src/commonMain/resources/ic-checkmark.xml @@ -0,0 +1,12 @@ + + + \ No newline at end of file