Skip to content

Commit 816319f

Browse files
committed
Minor docs update
1 parent fd1cdbd commit 816319f

File tree

2 files changed

+21
-35
lines changed

2 files changed

+21
-35
lines changed

devdocs/PUBLISHING.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,27 @@ sonatype.profileID=<your Sonatype profile ID>
2525

2626
#### SNAPSHOT version
2727

28-
Specify "x.y.z-SNAPSHOT" version in `build.gradle.kts` file.
28+
- Specify "x.y.z-SNAPSHOT" version in `build.gradle.kts` file.
29+
30+
- Publish
2931

3032
`./gradlew publishAllPublicationsToMavenRepository`
3133

32-
> You can find published SNAPSHOT artifacts here https://central.sonatype.com/repository/maven-snapshots/
34+
- Check Uploaded Artifacts
35+
36+
https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/org/jetbrains/lets-plot/
37+
38+
- Use SNAPSHOT artifacts
3339

40+
Add snapshot repository to the `repositories` section of the `build.gradle.kts` file:
41+
42+
```kotlin
43+
repositories {
44+
mavenCentral()
45+
// SNAPSHOTS
46+
maven(url = "https://central.sonatype.com/repository/maven-snapshots/")
47+
}
48+
```
3449

3550
#### "Release" version
3651

platf-android/build.gradle.kts

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import java.io.ByteArrayOutputStream
2-
import java.io.FileInputStream
3-
import java.util.*
4-
51
/*
62
* Copyright (c) 2023. JetBrains s.r.o.
73
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
84
*/
95

6+
import java.io.ByteArrayOutputStream
7+
import java.io.FileInputStream
8+
import java.util.*
9+
1010
plugins {
1111
kotlin("multiplatform")
1212
id("com.android.library")
@@ -31,35 +31,6 @@ kotlin {
3131
}
3232

3333
sourceSets {
34-
// commonMain {
35-
// dependencies {
36-
// compileOnly("org.jetbrains.skiko:skiko:$skikoVersion")
37-
//
38-
// compileOnly("org.jetbrains.lets-plot:commons:$letsPlotVersion")
39-
// compileOnly("org.jetbrains.lets-plot:datamodel:$letsPlotVersion")
40-
// compileOnly("org.jetbrains.lets-plot:plot-base:$letsPlotVersion")
41-
// compileOnly("org.jetbrains.lets-plot:plot-stem:$letsPlotVersion")
42-
// compileOnly("org.jetbrains.lets-plot:plot-builder:$letsPlotVersion")
43-
// }
44-
// }
45-
46-
// named("jvmMain") {
47-
// dependencies {
48-
// compileOnly("io.github.microutils:kotlin-logging-jvm:$kotlinLoggingVersion")
49-
// }
50-
// }
51-
52-
// named("jvmTest") {
53-
// dependencies {
54-
// implementation(kotlin("test"))
55-
// implementation("org.assertj:assertj-core:$assertjVersion")
56-
// implementation("org.jetbrains.skiko:skiko:$skikoVersion")
57-
// implementation("org.jetbrains.lets-plot:commons:$letsPlotVersion")
58-
// implementation("org.jetbrains.lets-plot:datamodel:$letsPlotVersion")
59-
// implementation("io.github.microutils:kotlin-logging:$kotlinLoggingVersion")
60-
// }
61-
// }
62-
6334
named("androidMain") {
6435
dependencies {
6536
compileOnly("org.jetbrains.lets-plot:commons:$letsPlotVersion")

0 commit comments

Comments
 (0)