Skip to content

Commit 75ed654

Browse files
committed
Update README.md for 0.3.4 release
1 parent 3b6a337 commit 75ed654

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

README.md

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -114,62 +114,44 @@ collection.mutate { some_actions_on(it) }
114114

115115
> Note that the library is experimental and the API is subject to change.
116116
117-
The library is published to [kotlinx](https://bintray.com/kotlin/kotlinx/kotlinx.collections.immutable) bintray repository and available in jcenter too.
117+
The library is published to Maven Central repository.
118118

119-
The library depends on the Kotlin Standard Library of the version at least `1.4.0`.
119+
The library depends on the Kotlin Standard Library of the version at least `1.4.30`.
120120

121121
### Gradle
122122

123-
Add the bintray repository:
123+
Add the Maven Central repository:
124124

125125
```groovy
126126
repositories {
127-
jcenter()
127+
mavenCentral()
128128
}
129129
```
130130

131-
In multiplatform projects add the following dependency to the common source set:
131+
Add the library to dependencies of the platform source set, e.g.:
132132

133133
```groovy
134134
kotlin {
135135
sourceSets {
136136
commonMain {
137137
dependencies {
138-
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.3")
138+
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.4")
139139
}
140140
}
141141
}
142142
}
143143
```
144144

145-
To use the library in a JVM-only project add the platform to the artifact name, e.g.:
146-
147-
```groovy
148-
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable-jvm:0.3.3")
149-
```
150-
151145
### Maven
152146

153-
Add the bintray repository to `<repositories>` section:
154-
155-
```xml
156-
<repository>
157-
<snapshots>
158-
<enabled>false</enabled>
159-
</snapshots>
160-
<id>jcenter</id>
161-
<name>jcenter</name>
162-
<url>https://jcenter.bintray.com/</url>
163-
</repository>
164-
```
165-
147+
The Maven Central repository is available for dependency lookup by default.
166148
Add dependencies (you can also add other modules that you need):
167149

168150
```xml
169151
<dependency>
170152
<groupId>org.jetbrains.kotlinx</groupId>
171153
<artifactId>kotlinx-collections-immutable-jvm</artifactId>
172-
<version>0.3.3</version>
154+
<version>0.3.4</version>
173155
</dependency>
174156
```
175157

0 commit comments

Comments
 (0)