File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,14 +27,10 @@ kotlin {
2727}
2828
2929dependencies {
30- // https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
31- implementation(" org.apache.logging.log4j:log4j-core:2.23.1" )
32- // https://mvnrepository.com/artifact/io.netty/netty-all
33- implementation(" io.netty:netty-all:4.1.115.Final" )
34- // https://mvnrepository.com/artifact/com.google.code.gson/gson
35- implementation(" com.google.code.gson:gson:2.10.1" )
36- // https://mvnrepository.com/artifact/org.apache.tika/tika-core
37- implementation(" org.apache.tika:tika-core:2.9.2" )
30+ api(libs.log4j.core)
31+ api(libs.bundles.netty)
32+ api(libs.gson)
33+ api(libs.tika.core)
3834
3935 testImplementation(kotlin(" test" ))
4036 testImplementation(" com.squareup.retrofit2:retrofit:2.9.0" )
@@ -66,12 +62,12 @@ tasks.withType<Jar> {
6662 }
6763}
6864
69- val sourcesJar by tasks.creating (Jar ::class ) {
65+ val sourcesJar by tasks.registering (Jar ::class ) {
7066 archiveClassifier.set(" sources" )
7167 from(sourceSets.main.get().allSource)
7268}
7369
74- val javadocJar by tasks.creating (Jar ::class ) {
70+ val javadocJar by tasks.registering (Jar ::class ) {
7571 archiveClassifier.set(" javadoc" )
7672 from(tasks.javadoc)
7773}
Original file line number Diff line number Diff line change @@ -19,16 +19,7 @@ kotlin {
1919}
2020
2121dependencies {
22- implementation(project(" :" ))
23-
24- // https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
25- implementation(" org.apache.logging.log4j:log4j-core:2.23.1" )
26- // https://mvnrepository.com/artifact/io.netty/netty-all
27- implementation(" io.netty:netty-all:4.1.82.Final" )
28- // https://mvnrepository.com/artifact/com.google.code.gson/gson
29- implementation(" com.google.code.gson:gson:2.10.1" )
30- // https://mvnrepository.com/artifact/org.apache.tika/tika-core
31- implementation(" org.apache.tika:tika-core:2.9.2" )
22+ implementation(rootProject)
3223}
3324
3425application {
Original file line number Diff line number Diff line change @@ -19,16 +19,7 @@ kotlin {
1919}
2020
2121dependencies {
22- implementation(project(" :" ))
23-
24- // https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
25- implementation(" org.apache.logging.log4j:log4j-core:2.23.1" )
26- // https://mvnrepository.com/artifact/io.netty/netty-all
27- implementation(" io.netty:netty-all:4.1.82.Final" )
28- // https://mvnrepository.com/artifact/com.google.code.gson/gson
29- implementation(" com.google.code.gson:gson:2.10.1" )
30- // https://mvnrepository.com/artifact/org.apache.tika/tika-core
31- implementation(" org.apache.tika:tika-core:2.9.2" )
22+ implementation(rootProject)
3223}
3324
3425application {
Original file line number Diff line number Diff line change @@ -19,16 +19,7 @@ kotlin {
1919}
2020
2121dependencies {
22- implementation(project(" :" ))
23-
24- // https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
25- implementation(" org.apache.logging.log4j:log4j-core:2.23.1" )
26- // https://mvnrepository.com/artifact/io.netty/netty-all
27- implementation(" io.netty:netty-all:4.1.82.Final" )
28- // https://mvnrepository.com/artifact/com.google.code.gson/gson
29- implementation(" com.google.code.gson:gson:2.10.1" )
30- // https://mvnrepository.com/artifact/org.apache.tika/tika-core
31- implementation(" org.apache.tika:tika-core:2.9.2" )
22+ implementation(rootProject)
3223}
3324
3425application {
Original file line number Diff line number Diff line change @@ -19,16 +19,7 @@ kotlin {
1919}
2020
2121dependencies {
22- implementation(project(" :" ))
23-
24- // https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
25- implementation(" org.apache.logging.log4j:log4j-core:2.23.1" )
26- // https://mvnrepository.com/artifact/io.netty/netty-all
27- implementation(" io.netty:netty-all:4.1.82.Final" )
28- // https://mvnrepository.com/artifact/com.google.code.gson/gson
29- implementation(" com.google.code.gson:gson:2.10.1" )
30- // https://mvnrepository.com/artifact/org.apache.tika/tika-core
31- implementation(" org.apache.tika:tika-core:2.9.2" )
22+ implementation(rootProject)
3223}
3324
3425application {
Original file line number Diff line number Diff line change 1+ [versions ]
2+ # https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
3+ log4j = " 2.23.1"
4+ # https://mvnrepository.com/artifact/io.netty/netty-all
5+ netty = " 4.1.118.Final"
6+ # https://mvnrepository.com/artifact/com.google.code.gson/gson
7+ gson = " 2.10.1"
8+ # https://mvnrepository.com/artifact/org.apache.tika/tika-core
9+ tika = " 3.2.3"
10+ # https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-test/overview
11+ kotlinx_coroutines_version = " 1.10.2"
12+
13+ [libraries ]
14+ coroutines-core = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-core" , version.ref = " kotlinx_coroutines_version" }
15+ coroutines-test = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-test" , version.ref = " kotlinx_coroutines_version" }
16+ log4j-core = { module = " org.apache.logging.log4j:log4j-core" , version.ref = " log4j" }
17+ netty-codec-http = { module = " io.netty:netty-codec-http" , version.ref = " netty" }
18+ netty-kqueue-classes = { module = " io.netty:netty-transport-classes-kqueue" , version.ref = " netty" }
19+ netty-epoll-classes = { module = " io.netty:netty-transport-classes-epoll" , version.ref = " netty" }
20+ gson = { module = " com.google.code.gson:gson" , version.ref = " gson" }
21+ tika-core = { module = " org.apache.tika:tika-core" , version.ref = " tika" }
22+
23+ [bundles ]
24+ netty = [
25+ " netty-codec-http" ,
26+ " netty-kqueue-classes" ,
27+ " netty-epoll-classes"
28+ ]
You can’t perform that action at this time.
0 commit comments