From 79cda99cd8c953f56c978669215fde377a68c121 Mon Sep 17 00:00:00 2001 From: rhenwinch Date: Fri, 9 Feb 2024 00:13:42 +0800 Subject: [PATCH] fix: plugin/provider stubs not included on jar file --- app/build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ea2c80d36..7e551758f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -130,10 +130,11 @@ dependencies { tasks.register("androidSourcesJar", Jar::class) { archiveClassifier.set("sources") - from(android.sourceSets.getByName("main").java.srcDirs) // Full Sources + from(android.sourceSets.getByName("main").java.srcDirs) + from(android.sourceSets.getByName("main").kotlin.srcDirs()) } -// For GradLew Plugin +// For the plugins-system tasks.register("makeJar", Copy::class) { from("build/intermediates/compile_app_classes_jar/prerelease") into("build")