Skip to content

Commit 1c67663

Browse files
committed
made :samples depend on core .jar
1 parent 6b74884 commit 1c67663

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

samples/build.gradle.kts

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ plugins {
2424
alias(korro)
2525
alias(ktlint)
2626
// Compiler plugin doesn't work properly for now: https://github.com/Kotlin/dataframe/issues/1432
27-
// alias(dataframePlugin)
27+
alias(dataframe.compiler.plugin)
2828
// using deprecated gradle plugin instead
29-
alias(dataframe)
29+
// alias(dataframe)
3030
// alias(kover)
3131
alias(ksp)
3232
}
@@ -37,8 +37,22 @@ repositories {
3737
mavenLocal() // for local development
3838
}
3939

40+
tasks.compileKotlin {
41+
dependsOn(projects.core.path + ":jar")
42+
}
43+
44+
val coreJar = project(projects.core.path).configurations
45+
.getByName("instrumentedJars")
46+
.artifacts.single()
47+
.file.absolutePath
48+
.replace(File.separatorChar, '/')
49+
4050
dependencies {
41-
implementation(projects.dataframe)
51+
implementation(projects.dataframe) {
52+
// exclude(group, "dataframe-core")
53+
}
54+
implementation(files(coreJar))
55+
4256
testImplementation(libs.junit)
4357
testImplementation(libs.kotestAssertions) {
4458
exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8")

0 commit comments

Comments
 (0)