/** * Designed and developed by Andrea Cioccarelli (@cioccarellia) * * 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. */ ext.module_name = "ksprefs" apply from: rootProject.file("library_info.gradle") ext { PUBLISH_GROUP_ID = library.publish_group PUBLISH_VERSION = library.publish_version PUBLISH_ARTIFACT_ID = library.artifact PUBLISH_ARTIFACT_DESC = library.description PUBLISH_ARTIFACT_WEBSITE = library.website } apply from: rootProject.file("gradle/android_library_config.gradle") dependencies { implementation "androidx.annotation:annotation:1.7.1" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3" implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" testImplementation "junit:junit:4.13.2" testImplementation "androidx.test:core:1.5.0" testImplementation "org.mockito:mockito-core:5.10.0" testImplementation "org.robolectric:robolectric:4.11.1" testImplementation "com.google.truth:truth:1.4.0" } android { compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } namespace 'com.cioccarellia.ksprefs' }