From ae1da1b7023f1b89a07a85cd52722eb4e5fdde90 Mon Sep 17 00:00:00 2001 From: extmkv Date: Tue, 10 Sep 2024 13:26:29 +0200 Subject: [PATCH 1/3] Add configurations to publish kotlin multiplatform lib --- .idea/deploymentTargetSelector.xml | 10 +++++++ mvi/build.gradle.kts | 43 +++++++++++++++++++----------- mvi/gradle.properties | 2 +- 3 files changed, 38 insertions(+), 17 deletions(-) create mode 100644 .idea/deploymentTargetSelector.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 0000000..6146593 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/mvi/build.gradle.kts b/mvi/build.gradle.kts index a99af87..2af652b 100644 --- a/mvi/build.gradle.kts +++ b/mvi/build.gradle.kts @@ -1,3 +1,6 @@ +import com.vanniktech.maven.publish.JavadocJar +import com.vanniktech.maven.publish.KotlinMultiplatform +import com.vanniktech.maven.publish.MavenPublishBaseExtension import org.jlleitschuh.gradle.ktlint.KtlintExtension plugins { @@ -15,22 +18,26 @@ kotlin { withJava() } - iosX64() - iosArm64() - iosSimulatorArm64() - - macosX64() - macosArm64() - - watchosArm32() - watchosArm64() - watchosDeviceArm64() - watchosSimulatorArm64() - watchosX64() - - tvosArm64() - tvosSimulatorArm64() - tvosX64() + listOf( + iosX64(), + iosArm64(), + iosSimulatorArm64(), + macosX64(), + macosArm64(), + watchosArm32(), + watchosArm64(), + watchosDeviceArm64(), + watchosSimulatorArm64(), + watchosX64(), + tvosArm64(), + tvosSimulatorArm64(), + tvosX64(), + ).forEach { + it.binaries.framework { + baseName = "mvi" + isStatic = true + } + } sourceSets { commonMain.dependencies { @@ -55,3 +62,7 @@ tasks { useJUnitPlatform() } } + +configure { + configure(KotlinMultiplatform(javadocJar = JavadocJar.Empty())) +} diff --git a/mvi/gradle.properties b/mvi/gradle.properties index 1e0eb73..33f8fbf 100644 --- a/mvi/gradle.properties +++ b/mvi/gradle.properties @@ -1,6 +1,6 @@ POM_ARTIFACT_ID=mvi GROUP=com.adidas.mvi VERSION_CODE=1 -VERSION_NAME=1.8.0 +VERSION_NAME=1.8.1 POM_NAME=Adidas MVI POM_DESCRIPTION=Adidas MVI \ No newline at end of file From df12da9ef17e594a5aa7c20a22c6f31db0df7c11 Mon Sep 17 00:00:00 2001 From: extmkv Date: Tue, 10 Sep 2024 16:26:58 +0200 Subject: [PATCH 2/3] Bumped to version 1.8.2 --- .idea/artifacts/mvi_jvm.xml | 8 + .idea/other.xml | 318 ++++++++++++++++++++++++++++++++++++ mvi/gradle.properties | 2 +- 3 files changed, 327 insertions(+), 1 deletion(-) create mode 100644 .idea/artifacts/mvi_jvm.xml create mode 100644 .idea/other.xml diff --git a/.idea/artifacts/mvi_jvm.xml b/.idea/artifacts/mvi_jvm.xml new file mode 100644 index 0000000..d8fdae7 --- /dev/null +++ b/.idea/artifacts/mvi_jvm.xml @@ -0,0 +1,8 @@ + + + $PROJECT_DIR$/mvi/build/libs + + + + + \ No newline at end of file diff --git a/.idea/other.xml b/.idea/other.xml new file mode 100644 index 0000000..94c96f6 --- /dev/null +++ b/.idea/other.xml @@ -0,0 +1,318 @@ + + + + + + \ No newline at end of file diff --git a/mvi/gradle.properties b/mvi/gradle.properties index 33f8fbf..65b7ed4 100644 --- a/mvi/gradle.properties +++ b/mvi/gradle.properties @@ -1,6 +1,6 @@ POM_ARTIFACT_ID=mvi GROUP=com.adidas.mvi VERSION_CODE=1 -VERSION_NAME=1.8.1 +VERSION_NAME=1.8.2 POM_NAME=Adidas MVI POM_DESCRIPTION=Adidas MVI \ No newline at end of file From c65c470c3fe30ee15afc9693249a576e277c368b Mon Sep 17 00:00:00 2001 From: extmkv Date: Tue, 10 Sep 2024 16:28:10 +0200 Subject: [PATCH 3/3] Removed unnecessary file --- .github/workflows/test2.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/test2.yml diff --git a/.github/workflows/test2.yml b/.github/workflows/test2.yml deleted file mode 100644 index a3bb99b..0000000 --- a/.github/workflows/test2.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the workflow will run -on: - # Triggers the workflow on push or pull request events but only for the "main" branch - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: echo ${{secrets.GPG_KEY}} | sed 's/./& /g'