Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Make :core-model to pure kotlin module

Sungyong Ancd9e4ac27871
diff --git a/core-model/build.gradle.kts b/core-model/build.gradle.kts
index a413b36c4..34a905c6c 100644
--- a/core-model/build.gradle.kts
+++ b/core-model/build.gradle.kts
@@ -16,21 +16,10 @@
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
- id("nowinandroid.android.library")
- id("nowinandroid.android.library.jacoco")
- id("kotlinx-serialization")
- alias(libs.plugins.ksp)
+ id("kotlin")
id("nowinandroid.spotless")
}
dependencies {
- testImplementation(project(":core-testing"))
-
- implementation(libs.room.runtime)
- implementation(libs.room.ktx)
- ksp(libs.room.compiler)
-
- implementation(libs.kotlinx.coroutines.android)
implementation(libs.kotlinx.datetime)
- implementation(libs.kotlinx.serialization.json)
}
\ No newline at end of file
diff --git a/core-model/src/main/AndroidManifest.xml b/core-model/src/main/AndroidManifest.xml
deleted file mode 100644
index e04125b63..000000000
--- a/core-model/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright 2022 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.
--->
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.google.samples.apps.nowinandroid.core.model">
-
-</manifest>
\ No newline at end of file