Skip to content

Commit 450594f

Browse files
committed
pre-release
1 parent 6a59f2e commit 450594f

File tree

3 files changed

+51
-9
lines changed

3 files changed

+51
-9
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# AzurApi-Kotlin
22
A 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)

build.gradle.kts

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ val fuelVersion = "2.2.1"
33
val kotlintestVersion = "3.4.2"
44

55
plugins {
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

1219
repositories {
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-
3033
tasks {
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
}

gradle/wrapper/gradle-wrapper.jar

53.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)