-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libs.versions.toml cleanup and updated usages
- Loading branch information
1 parent
92921b0
commit d5cbe79
Showing
6 changed files
with
58 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
import com.vanniktech.maven.publish.SonatypeHost | ||
|
||
plugins { | ||
kotlin("multiplatform") | ||
id("kotlinx-serialization") | ||
alias(libs.plugins.vanniktech.maven.publish) | ||
kotlin("multiplatform") | ||
kotlin("plugin.serialization") | ||
alias(libs.plugins.vanniktech.maven.publish) | ||
} | ||
|
||
kotlin { | ||
js { | ||
browser() | ||
} | ||
jvm { | ||
withSourcesJar() | ||
} | ||
js { | ||
browser() | ||
} | ||
jvm { | ||
withSourcesJar() | ||
} | ||
|
||
sourceSets { | ||
val commonMain by getting { | ||
dependencies { | ||
api(libs.kotlinx.serialization.core) | ||
api(libs.kotlinx.serialization.json) | ||
} | ||
sourceSets { | ||
val commonMain by getting { | ||
dependencies { | ||
api(libs.kotlinx.serialization.core) | ||
api(libs.kotlinx.serialization.json) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
mavenPublishing { | ||
pomFromGradleProperties() | ||
signAllPublications() | ||
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true) | ||
pomFromGradleProperties() | ||
signAllPublications() | ||
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters