File tree Expand file tree Collapse file tree 3 files changed +51
-9
lines changed
Expand file tree Collapse file tree 3 files changed +51
-9
lines changed Original file line number Diff line number Diff line change 11# AzurApi-Kotlin
22A Kotlin wrapper for Azur Lane JSON
33
4+ ## Use
5+ <details ><summary >Kotlin (build.gradle.kts)</summary >
6+
7+ ``` kotlin
8+ repositories {
9+ maven(url = " https://jitpack.io" )
10+ }
11+ ```
12+
13+ ``` kotlin
14+ dependencies {
15+ implementation(" com.github.AzurAPI:AzurApi-Kotlin:Tag" )
16+ }
17+ ```
18+ </details >
19+
20+ <details ><summary >Maven</summary >
21+
22+ ``` xml
23+ <repositories >
24+ <repository >
25+ <id >jitpack.io</id >
26+ <url >https://jitpack.io</url >
27+ </repository >
28+ </repositories >
29+ ```
30+
31+ ``` xml
32+ <dependency >
33+ <groupId >com.github.AzurAPI</groupId >
34+ <artifactId >AzurApi-Kotlin</artifactId >
35+ <version >Tag</version >
36+ </dependency >
37+ ```
38+ </details >
39+
440## Support server
541![ Discord Banner 2] ( https://discordapp.com/api/guilds/648206344729526272/widget.png?style=banner2 )
Original file line number Diff line number Diff line change @@ -3,11 +3,18 @@ val fuelVersion = "2.2.1"
33val kotlintestVersion = " 3.4.2"
44
55plugins {
6+ java
7+ maven
68 kotlin(" jvm" ) version " 1.3.61"
79}
810
9- group = " com.github.azurapi.azurapikotlin"
10- version = " v1.0.0"
11+ group = " com.github.AzurApi"
12+ version = " 0.1.0"
13+
14+ java {
15+ sourceCompatibility = JavaVersion .VERSION_1_8
16+ targetCompatibility = JavaVersion .VERSION_1_8
17+ }
1118
1219repositories {
1320 mavenCentral()
@@ -23,15 +30,14 @@ dependencies {
2330 testImplementation(" io.kotlintest:kotlintest-runner-junit5:$kotlintestVersion " )
2431}
2532
26- tasks.withType<Test > {
27- useJUnitPlatform()
28- }
29-
3033tasks {
31- compileKotlin {
32- kotlinOptions.jvmTarget = " 1.8"
34+ test {
35+ useJUnitPlatform()
36+ testLogging {
37+ events(" passed" , " skipped" , " failed" )
38+ }
3339 }
34- compileTestKotlin {
40+ compileKotlin {
3541 kotlinOptions.jvmTarget = " 1.8"
3642 }
3743}
You can’t perform that action at this time.
0 commit comments