@@ -18,6 +18,7 @@ for testing AoC puzzle solutions with minimal boilerplate.
18
18
19
19
<tabs >
20
20
<tab id =" template " title =" AocKt Template Project " >
21
+
21
22
For your convenience, there is an
22
23
<a href =" https://github.com/Jadarma/advent-of-code-kotlin-template " ><code >advent-of-code-kotlin-template</code ></a >
23
24
repository which you can use to generate your own solutions repo.
@@ -28,6 +29,7 @@ _(If you need a working example, check out [my solutions repo](https://github.co
28
29
29
30
</tab >
30
31
<tab id =" standalone " title =" Standalone Gradle Project " >
32
+
31
33
To add AocKt to your existing project, simply add the dependencies and configure your unit tests to run with Kotest:
32
34
33
35
``` kotlin
@@ -49,6 +51,42 @@ tasks.test {
49
51
useJUnitPlatform()
50
52
}
51
53
```
54
+ </tab >
55
+ <tab id =" snapshot " title =" SNAPSHOT Builds " >
56
+
57
+ To consume pre-release builds, you must register the snapshot repository.\
58
+ Replace ` x.x.x-SNAPSHOT ` with the version from the badge below _ (if it exists)_ :
59
+
60
+ ![ Maven SNAPSHOT] ( https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fio%2Fgithub%2Fjadarma%2Faockt%2Faockt-test%2Fmaven-metadata.xml&strategy=latestProperty&style=flat-square&logo=apachemaven&logoColor=orange&label=Snapshot&color=orange )
61
+
62
+ ``` kotlin
63
+ plugins {
64
+ kotlin(" jvm" ) version " %kotlin-version%"
65
+ }
66
+
67
+ repositories {
68
+ mavenCentral()
69
+ maven {
70
+ url = uri(" https://central.sonatype.com/repository/maven-snapshots/" )
71
+ content { includeGroup(" io.github.jadarma.aockt" ) }
72
+ }
73
+ }
74
+
75
+ dependencies {
76
+ implementation(" io.github.jadarma.aockt:aockt-core:x.x.x-SNAPSHOT" )
77
+ testImplementation(" io.github.jadarma.aockt:aockt-test:x.x.x-SNAPSHOT" )
78
+ testImplementation(" io.kotest:kotest-runner-junit5:%kotest-version%" )
79
+ }
80
+
81
+ tasks.test {
82
+ useJUnitPlatform()
83
+ }
84
+ ```
85
+
86
+ ** PS:**
87
+ You can also [ submit an issue] ( https://github.com/Jadarma/advent-of-code-kotlin/issues ) if you find bugs or have suggestions.
88
+ Thank you for trying out the latest development build! 💚
89
+
52
90
</tab >
53
91
</tabs >
54
92
0 commit comments