The template suggests that you can use it for platforms other than Android. However when you remove the Android target you get this error:
Could not create task ':library:bundleAndroidMainClassesToCompileJar'.
Namespace not specified. Specify a namespace in the module's build file like so:
kotlin {
androidLibrary {
namespace = "com.example.namespace"
}
}
A KMP library should not mandatorily have to target Android.
The template suggests that you can use it for platforms other than Android. However when you remove the Android target you get this error:
A KMP library should not mandatorily have to target Android.