Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make UI dispatcher immediate #263

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
39 changes: 39 additions & 0 deletions .github/workflows/dokka.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and publish dokka

on:
push:
branches: ["master"]

jobs:
build:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build dokka
run: ./gradlew dokkaHtmlMultiModule
shell: bash
- name: Move dokka results
run: mv build/dokka/htmlMultiModule public
shell: bash
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ dependencies {
commonMainApi("dev.icerock.moko:mvvm-flow-resources:0.16.1") // api mvvm-core, moko-resources, extensions for Flow with moko-resources

// compose multiplatform
commonMainApi("dev.icerock.moko:mvvm-compose:0.16.1") // api mvvm-core, getViewModel for Compose Multiplatfrom
commonMainApi("dev.icerock.moko:mvvm-flow-compose:0.16.1") // api mvvm-flow, binding extensions for Compose Multiplatfrom
commonMainApi("dev.icerock.moko:mvvm-livedata-compose:0.16.1") // api mvvm-livedata, binding extensions for Compose Multiplatfrom
commonMainApi("dev.icerock.moko:mvvm-compose:0.16.1") // api mvvm-core, getViewModel for Compose Multiplatform
commonMainApi("dev.icerock.moko:mvvm-flow-compose:0.16.1") // api mvvm-flow, binding extensions for Compose Multiplatform
commonMainApi("dev.icerock.moko:mvvm-livedata-compose:0.16.1") // api mvvm-livedata, binding extensions for Compose Multiplatform

androidMainApi("dev.icerock.moko:mvvm-livedata-material:0.16.1") // api mvvm-livedata, Material library android extensions
androidMainApi("dev.icerock.moko:mvvm-livedata-glide:0.16.1") // api mvvm-livedata, Glide library android extensions
Expand Down
13 changes: 8 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/

import org.jetbrains.dokka.gradle.DokkaTaskPartial

buildscript {
repositories {
mavenCentral()
Expand All @@ -13,6 +15,7 @@ buildscript {
classpath(":mvvm-build-logic")
classpath(libs.kswiftGradlePlugin)
classpath(libs.composeJetBrainsGradlePlugin)
classpath(libs.dokkaGradlePlugin)
}
}

Expand Down Expand Up @@ -40,10 +43,10 @@ allprojects {
force(rootProject.libs.coroutines)
}
}
}

// temporary fix for Apple Silicon (remove after 1.6.20 update)
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().nodeVersion =
"16.0.0"
apply(plugin = "org.jetbrains.dokka")

tasks.withType<DokkaTaskPartial>().configureEach {
this.enabled = name.startsWith("mvvm-")
}
}
4 changes: 0 additions & 4 deletions docs/images/anchor-copy-button.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/images/arrow_down.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/images/copy-icon.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/images/copy-successful-icon.svg

This file was deleted.

7 changes: 0 additions & 7 deletions docs/images/docs_logo.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/images/footer-go-to-link.svg

This file was deleted.

4 changes: 0 additions & 4 deletions docs/images/go-to-top-icon.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/images/logo-icon.svg

This file was deleted.

134 changes: 0 additions & 134 deletions docs/index.html

This file was deleted.

4 changes: 0 additions & 4 deletions docs/mvvm-core/images/anchor-copy-button.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/mvvm-core/images/arrow_down.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/mvvm-core/images/copy-icon.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/mvvm-core/images/copy-successful-icon.svg

This file was deleted.

Loading