Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish KSP as fat jar to avoid transitive dependency on dataframe #164

Merged
merged 1 commit into from
Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ internal class KspPluginApplier : Plugin<Project> {
val preprocessorVersion = properties.getProperty("PREPROCESSOR_VERSION")
target.plugins.apply("com.google.devtools.ksp")
target.configurations.getByName("ksp").dependencies.add(
target.dependencies.create("org.jetbrains.kotlinx.dataframe:symbol-processor:$preprocessorVersion")
target.dependencies.create("org.jetbrains.kotlinx.dataframe:symbol-processor-all:$preprocessorVersion")
)
target.extensions.getByType<KspExtension>().arg("dataframe.resolutionDir", target.projectDir.absolutePath)
}
Expand Down
3 changes: 2 additions & 1 deletion plugins/symbol-processor/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id("com.github.johnrengelman.shadow") version "7.1.2"
id("org.jetbrains.kotlin.jvm")
id("org.jetbrains.kotlin.libs.publisher")
}
Expand Down Expand Up @@ -40,7 +41,7 @@ kotlinPublications {
publication {
groupId.set("org.jetbrains.kotlinx.dataframe")
publicationName.set("maven")
artifactId.set("symbol-processor")
artifactId.set("symbol-processor-all")
description.set("Annotation preprocessor for DataFrame")
packageName.set(artifactId)
}
Expand Down