From f5cda196608b2ef253e8afe188155dfa1124fd90 Mon Sep 17 00:00:00 2001 From: Hummel009 <60618853+Hummel009@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:52:47 +0300 Subject: [PATCH] 1 --- .github/workflows/gradle.yml | 5 ++++- settings.gradle.kts | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 11efa52..023c6e0 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -11,6 +11,9 @@ permissions: jobs: build: runs-on: windows-latest + strategy: + matrix: + version: [ 'Java', 'KotlinJvm', 'KotlinNative' ] steps: - uses: actions/checkout@main - name: Set up JDK 21 @@ -21,4 +24,4 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@main with: - arguments: build + arguments: :app${{matrix.version}}:build \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index d5599c1..52317b3 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,6 @@ pluginManagement { repositories { - google() + mavenLocal() mavenCentral() gradlePluginPortal() } @@ -9,12 +9,16 @@ pluginManagement { dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.PREFER_PROJECT) repositories { - google() + mavenLocal() mavenCentral() gradlePluginPortal() } } +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" +} + include(":appKotlinJvm") include(":appKotlinNative") include(":appJava") \ No newline at end of file