From 84082b42c67106a089cdc571dcb31555725b71f7 Mon Sep 17 00:00:00 2001 From: iliyangermanov Date: Tue, 30 Apr 2024 18:13:10 +0300 Subject: [PATCH] Fix Jitpack attempt 1.0.5 --- gradle.properties | 3 ++- jitpack.yml | 5 ++++- shared/build.gradle.kts | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index c5572e51..6eb605bd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,4 +15,5 @@ kotlin.mpp.androidSourceSetLayoutVersion=2 kotlin.mpp.enableCInteropCommonization=true #Development -development=true \ No newline at end of file +development=true +kotlin.mpp.androidSourceSetLayoutV2AndroidStyleDirs.nowarn=true \ No newline at end of file diff --git a/jitpack.yml b/jitpack.yml index 58c2a190..0c4aaf40 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -6,4 +6,7 @@ install: build: - ./gradlew :shared:jvmJar - - ./gradlew :shared:publishJvmPublicationToMavenLocal \ No newline at end of file + - ./gradlew :shared:publishJvmPublicationToMavenLocal + - mkdir -p build/libs + - cp shared/build/libs/*.jar build/libs/ + - cp shared/build/publications/jvm/* build/libs/ \ No newline at end of file diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 6804f82b..0f4f0361 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -6,12 +6,12 @@ plugins { } group = "ivy.learn.shared" -version = "1.0.4" +version = "1.0.5" + publishing { publications { create("maven") { - // This line specifies that the output of the 'kotlin' component should be published from(components["kotlin"]) } }