diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d63ff56..8eb9184 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,20 +24,8 @@ jobs: strategy: matrix: include: - - target: publishIosArm64PublicationToSonatypeRepository --no-configuration-cache + - target: publish --no-configuration-cache os: macos-latest - - target: publishIosX64PublicationToSonatypeRepository --no-configuration-cache - os: macos-latest - - target: publishAndroidReleasePublicationToSonatypeRepository --no-configuration-cache - os: ubuntu-latest - - target: publishIosSimulatorArm64PublicationToSonatypeRepository --no-configuration-cache - os: macos-latest - - target: publishJvmPublicationToSonatypeRepository --no-configuration-cache - os: ubuntu-latest -# - target: publishLinuxX64PublicationToSonatypeRepository -# os: ubuntu-latest - - target: publishKotlinMultiplatformPublicationToSonatypeRepository --no-configuration-cache - os: ubuntu-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/gradle.properties b/gradle.properties index 5e4d56d..7af92d3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,7 @@ kotlin.code.style=official kotlin.js.compiler=ir #MPP kotlin.mpp.enableCInteropCommonization=true +org.jetbrains.compose.experimental.jscanvas.enabled=true #Android android.useAndroidX=true android.nonTransitiveRClass=true diff --git a/rin/build.gradle.kts b/rin/build.gradle.kts index 18f18b3..1df2fa3 100644 --- a/rin/build.gradle.kts +++ b/rin/build.gradle.kts @@ -9,6 +9,13 @@ plugins { kotlin { applyDefaultHierarchyTemplate() + + // darwin + iosArm64() + iosSimulatorArm64() + iosX64() + + // Java bytecode jvm() androidTarget { publishLibraryVariants("release") @@ -18,10 +25,15 @@ kotlin { } } } - iosX64() - iosArm64() - iosSimulatorArm64() -// linuxX64() + + // JS + js { + browser() + } + wasmJs { + browser() + } + val compose = extensions.get("compose") as org.jetbrains.compose.ComposeExtension sourceSets { val commonMain by getting {