Skip to content

Commit 415f5f3

Browse files
committed
README: update list of samples and add usage
1 parent b7ecca4 commit 415f5f3

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@ Also the official sample for [gradle refreshVersions](https://github.com/jmfayar
66

77
[![](https://user-images.githubusercontent.com/459464/93568735-ddcc9300-f990-11ea-952b-1c9a461f8e14.png)](http://www.youtube.com/watch?v=VhYERonB8co "Gradle refreshVersions")
88

9+
## Usage
10+
11+
Run all the samples
12+
13+
```
14+
$ ./gradlew :kotlin-jvm:run
15+
```
16+
17+
Run all the tests
18+
19+
```
20+
$ ./gradlew :kotlin-testing:test
21+
```
22+
23+
Test tests called FailingXXX are expected to fail
24+
25+
<img width="522" alt="kotlin-libraries-playground_–_versions_properties__kotlin-libraries-playground__and_GitHub_Desktop" src="https://user-images.githubusercontent.com/459464/116738577-edb25800-a9f2-11eb-9a63-96805bb59cf4.png">
26+
27+
928
## ❤️ Contributors welcome! #hacktoberfest
1029

1130
We want to collect sample usage of Kotlin libraries, and the more the better!
@@ -16,7 +35,7 @@ You are very welcome to contribute your own library sample.
1635

1736
### 🤔How do you keep up with all the new stuff?
1837

19-
There are [great resources to learn Kotlin](https://dev.to/jmfayard/best-ways-to-learn-kotlin-from-scratch-or-from-java-with-books-or-tutorials-online-or-in-the-ide-52cm).
38+
There are [great resources to learn Kotlin](https://dev.to/jmfayard/best-ways-to-learn-kotlin-from-scratch-or-from-java-with-books-or-tutorials-online-or-in-the-ide-52cm).
2039

2140
But once you master the language, you are not done just yet.
2241

@@ -35,8 +54,8 @@ There are several inefficient ways to do that:
3554

3655
### 🦅Widening your knowledge of libraries
3756

38-
The `kotlin-libraries-playgound` contains samples for a growing number of good Kotlin libraries including
39-
[Moshi, Okio, OkHttp, Retrofit, Kotlinx Serialization, Ktor-client, ...](https://github.com/LouisCAD/kotlin-libraries-playground/tree/main/kotlin-jvm/src/main/kotlin/playground),
57+
The `kotlin-libraries-playgound` contains samples for a growing number of good Kotlin libraries including
58+
[Apollo, CliKt, Kodein DI, Kodein DB, Exposed, Fuel, Hoplite, Klaxon, Konad, Konf, Kotlin Collections, Kotlin Faker, Kotlin IO, Kotlinpoet, Kotlin Statistics, Kotlinx Serialization, Ktor Client, Mordant, Moshi, OkHttp, OkIO, Picnic, Retrofit, Skrapeit, SqlDelight, Statemachine, ...](https://github.com/LouisCAD/kotlin-libraries-playground/tree/main/kotlin-jvm/src/main/kotlin/playground),
4059
[KoTest, Mockk, Spek, Strikt, Mockito, Junit-Jupiter, ...](https://github.com/LouisCAD/kotlin-libraries-playground/tree/main/kotlin-jvm/src/test/kotlin/framework) ...
4160

4261
You are very welcome to contribute new samples (see contributing section below).

kotlin-codegen/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
plugins {
22
kotlin("jvm")
33
kotlin("kapt")
4-
54
}
65

7-
86
dependencies {
97
// Keep dependencies sorted to minimize merge conflicts on pull-requests!
108
implementation("com.google.dagger:dagger:_")

0 commit comments

Comments
 (0)