This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### WARNING: Must only be run from android project's root dir | |
find ./* -name "build" -type d -exec rm -r {} + | |
find ./* -name "*.iml" -type f -exec rm -r {} + | |
find ./* -name ".gradle" -type d -exec rm -r {} + | |
find ./* -name ".idea" -type d -exec rm -r {} + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is library side setup to get the correct frameworks ready | |
// Follow https://play.kotlinlang.org/hands-on/Targeting%20iOS%20and%20Android%20with%20Kotlin%20Multiplatform/05_CreatingiOSApp | |
// for Xcode side setup | |
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget | |
plugins { | |
// Setup android target types and auto generate android source sets | |
id("com.android.library") | |