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 1
1
# AzurApi-Kotlin
2
2
A Kotlin wrapper for Azur Lane JSON
3
3
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
+
4
40
## Support server
5
41
![ 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"
3
3
val kotlintestVersion = " 3.4.2"
4
4
5
5
plugins {
6
+ java
7
+ maven
6
8
kotlin(" jvm" ) version " 1.3.61"
7
9
}
8
10
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
+ }
11
18
12
19
repositories {
13
20
mavenCentral()
@@ -23,15 +30,14 @@ dependencies {
23
30
testImplementation(" io.kotlintest:kotlintest-runner-junit5:$kotlintestVersion " )
24
31
}
25
32
26
- tasks.withType<Test > {
27
- useJUnitPlatform()
28
- }
29
-
30
33
tasks {
31
- compileKotlin {
32
- kotlinOptions.jvmTarget = " 1.8"
34
+ test {
35
+ useJUnitPlatform()
36
+ testLogging {
37
+ events(" passed" , " skipped" , " failed" )
38
+ }
33
39
}
34
- compileTestKotlin {
40
+ compileKotlin {
35
41
kotlinOptions.jvmTarget = " 1.8"
36
42
}
37
43
}
You can’t perform that action at this time.
0 commit comments