-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
1,209 additions
and
402 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,3 +174,4 @@ hs_err_pid* | |
**/plugin_encrypted_key.pem | ||
**/plugin_rsa_private_key.pem | ||
**/.cache | ||
/.intellijPlatform/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,40 @@ | ||
plugins { | ||
id("pro.respawn.android-library") | ||
id(libs.plugins.kotlinMultiplatform.id) | ||
id(libs.plugins.androidLibrary.id) | ||
alias(libs.plugins.maven.publish) | ||
dokkaDocumentation | ||
} | ||
|
||
kotlin { | ||
configureMultiplatform( | ||
ext = this, | ||
jvm = true, | ||
android = true, | ||
iOs = true, | ||
macOs = true, | ||
watchOs = false, | ||
tvOs = false, | ||
windows = false, | ||
linux = true, | ||
js = true, | ||
wasmJs = true, | ||
wasmWasi = false, | ||
) | ||
|
||
sourceSets.androidMain.dependencies { | ||
api(libs.kotlin.coroutines.android) | ||
api(libs.androidx.fragment) | ||
api(libs.androidx.activity) | ||
} | ||
} | ||
|
||
android { | ||
namespace = "${Config.artifactId}.android" | ||
configureAndroidLibrary(this) | ||
namespace = "${Config.namespace}.android" | ||
} | ||
|
||
dependencies { | ||
api(projects.core) | ||
// api(libs.lifecycle.runtime) | ||
// api(libs.lifecycle.viewmodel) | ||
api(libs.kotlin.coroutines.android) | ||
implementation(libs.androidx.fragment) | ||
implementation(libs.androidx.activity) | ||
commonMainApi(projects.core) | ||
commonMainApi(libs.lifecycle.runtime) | ||
commonMainApi(libs.lifecycle.viewmodel) | ||
} |
File renamed without changes.
File renamed without changes.
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ object Config { | |
const val majorRelease = 3 | ||
const val minorRelease = 1 | ||
const val patch = 0 | ||
const val postfix = "-beta01" // include dash (-) | ||
const val postfix = "-beta02" // include dash (-) | ||
const val majorVersionName = "$majorRelease.$minorRelease.$patch" | ||
const val versionName = "$majorVersionName$postfix" | ||
const val url = "https://github.com/respawn-app/FlowMVI" | ||
|
@@ -28,6 +28,7 @@ object Config { | |
const val licenseName = "The Apache Software License, Version 2.0" | ||
const val licenseUrl = "https://www.apache.org/licenses/LICENSE-2.0.txt" | ||
const val scmUrl = "https://github.com/respawn-app/FlowMVI.git" | ||
const val docsUrl = "https://opensource.respawn.pro/FlowMVI/#/" | ||
const val description = """A Kotlin Multiplatform MVI library based on coroutines with a powerful plugin system""" | ||
const val supportEmail = "[email protected]" | ||
const val vendorName = "Respawn Open Source Team" | ||
|
@@ -76,7 +77,7 @@ object Config { | |
val jvmTarget = JvmTarget.JVM_11 | ||
val idePluginJvmTarget = JvmTarget.JVM_17 | ||
val javaVersion = JavaVersion.VERSION_11 | ||
const val compileSdk = 34 | ||
const val compileSdk = 35 | ||
const val targetSdk = compileSdk | ||
const val minSdk = 21 | ||
const val appMinSdk = 26 | ||
|
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import org.jetbrains.dokka.gradle.engine.parameters.VisibilityModifier | ||
|
||
plugins { | ||
id("org.jetbrains.dokka") | ||
// id("org.jetbrains.dokka-javadoc") | ||
} | ||
|
||
val libs by versionCatalog | ||
|
||
dokka { | ||
dokkaGeneratorIsolation = ClassLoaderIsolation() | ||
moduleName = project.name | ||
moduleVersion = project.version.toString() | ||
pluginsConfiguration.html { | ||
footerMessage = "© ${Config.vendorName}" | ||
customAssets.from(rootDir.resolve("docs/images/icon-512-maskable.png")) | ||
homepageLink = Config.url | ||
} | ||
dokkaPublications.configureEach { | ||
suppressInheritedMembers = false | ||
suppressObviousFunctions = true | ||
} | ||
dokkaSourceSets.configureEach { | ||
reportUndocumented = false | ||
enableJdkDocumentationLink = true | ||
enableAndroidDocumentationLink = true | ||
enableKotlinStdLibDocumentationLink = true | ||
skipEmptyPackages = true | ||
skipDeprecated = true | ||
jdkVersion = Config.javaVersion.majorVersion.toInt() | ||
documentedVisibilities(VisibilityModifier.Public) | ||
} | ||
// remoteUrl = Config.docsUrl | ||
} | ||
|
||
dependencies { | ||
dokkaPlugin(libs.requireLib("dokka-android")) | ||
} |
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 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
Oops, something went wrong.