Skip to content

Commit

Permalink
style: make ktlint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
aripiprazole committed Jul 20, 2023
1 parent 7f691ab commit 2c060c2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ kotlin {
}
}
val sources by tasks.registering(Jar::class) {
archiveBaseName.set(project.name)
archiveClassifier.set("sources")
archiveVersion.set(project.version.toString())
from(sourceSets.main.get().allSource)
archiveBaseName.set(project.name)
archiveClassifier.set("sources")
archiveVersion.set(project.version.toString())
from(sourceSets.main.get().allSource)
}

publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
artifact(sources.get())
}
publications {
create<MavenPublication>("maven") {
from(components["java"])
artifact(sources.get())
}
}
}

tasks.test {
Expand Down

0 comments on commit 2c060c2

Please sign in to comment.