Skip to content

Commit

Permalink
test kmp
Browse files Browse the repository at this point in the history
  • Loading branch information
ltttttttttttt committed Nov 15, 2022
1 parent db71965 commit 377cdee
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions buff/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
plugins {
id("java-library")
id("org.jetbrains.kotlin.jvm")
kotlin("multiplatform")
id("maven-publish")
}

group = "com.github.ltttttttttttt"
version = "1.0.0"

java {
withSourcesJar()
withJavadocJar()
//withSourcesJar()
//withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
Expand All @@ -20,11 +19,20 @@ publishing {
groupId = "com.github.ltttttttttttt"
artifactId = "library"
version = "1.0.0"
from(components.getByName("java"))
from(components.getByName("kotlin"))
}
}
}

dependencies {
implementation("com.google.devtools.ksp:symbol-processing-api:$kspVersion")
kotlin {
jvm()

sourceSets {
val commonMain by getting {
dependencies {
implementation("com.google.devtools.ksp:symbol-processing-api:$kspVersion")
}
}
val commonTest by getting
}
}
File renamed without changes.
File renamed without changes.

0 comments on commit 377cdee

Please sign in to comment.