11plugins {
2- id(" com.github.johnrengelman. shadow" ) version " 8.1.1 "
3- id(" io.micronaut.application" ) version " 4.4.0 "
4- id(" me.qoomon.git-versioning" ) version " 6.4.1 "
5- id(" com.adarshr.test-logger" ) version " 3.2 .0"
2+ id(" com.gradleup. shadow" ) version " 9.2.2 "
3+ id(" io.micronaut.application" ) version " 4.6.1 "
4+ id(" me.qoomon.git-versioning" ) version " 6.4.4 "
5+ id(" com.adarshr.test-logger" ) version " 4.0 .0"
66}
77
88repositories {
@@ -36,24 +36,24 @@ gitVersioning.apply {
3636}
3737
3838dependencies {
39- implementation(' info.picocli:picocli:4.7.6 ' )
40- implementation(' io.micronaut.picocli:micronaut-picocli:5.4 .0' )
39+ implementation(' info.picocli:picocli:4.7.7 ' )
40+ implementation(' io.micronaut.picocli:micronaut-picocli:5.9 .0' )
4141 implementation(" com.github.tulskiy:jkeymaster:1.3" )
42- implementation(' ch.qos.logback:logback-classic:1.5.6 ' )
43- implementation(" org.fusesource.jansi:jansi:2.4.1 " )
44- implementation(' com.apptasticsoftware:rssreader:3.7 .0' )
45- implementation(" org.telegram:telegrambots-client:7.4.2 " )
46- implementation(' com.google.code.gson:gson:2.10 ' )
47- implementation(' com.google.guava:guava:33.2.1 -jre' )
42+ implementation(' ch.qos.logback:logback-classic:1.5.21 ' )
43+ implementation(" org.fusesource.jansi:jansi:2.4.2 " )
44+ implementation(' com.apptasticsoftware:rssreader:3.11 .0' )
45+ implementation(" org.telegram:telegrambots-client:9.2.0 " )
46+ implementation(' com.google.code.gson:gson:2.13.2 ' )
47+ implementation(' com.google.guava:guava:33.5.0 -jre' )
4848 implementation(" dev.failsafe:failsafe:3.3.2" )
49- implementation(" org.jsoup:jsoup:1.17 .2" )
50- testImplementation(" org.junit-pioneer:junit-pioneer:2.2 .0" )
51- testImplementation(" org.wiremock:wiremock:3.7.0 " )
52- annotationProcessor(" org.projectlombok:lombok:1.18.32 " )
49+ implementation(" org.jsoup:jsoup:1.21 .2" )
50+ testImplementation(" org.junit-pioneer:junit-pioneer:2.3 .0" )
51+ testImplementation(" org.wiremock:wiremock:3.13.2 " )
52+ annotationProcessor(" org.projectlombok:lombok:1.18.42 " )
5353 annotationProcessor(" info.picocli:picocli-codegen" )
54- testImplementation(" org.projectlombok:lombok:1.18.32 " )
55- testAnnotationProcessor(" org.projectlombok:lombok:1.18.32 " )
56- compileOnly(" org.projectlombok:lombok:1.18.32 " )
54+ testImplementation(" org.projectlombok:lombok:1.18.42 " )
55+ testAnnotationProcessor(" org.projectlombok:lombok:1.18.42 " )
56+ compileOnly(" org.projectlombok:lombok:1.18.42 " )
5757 runtimeOnly(" org.yaml:snakeyaml" )
5858}
5959
@@ -63,8 +63,8 @@ application {
6363}
6464
6565java {
66- sourceCompatibility = JavaVersion . toVersion(" 22 " )
67- targetCompatibility = JavaVersion . toVersion(" 22 " )
66+ sourceCompatibility = JavaVersion . toVersion(" 25 " )
67+ targetCompatibility = JavaVersion . toVersion(" 25 " )
6868}
6969
7070micronaut {
@@ -76,6 +76,20 @@ micronaut {
7676}
7777
7878def appVersion = version
79+ tasks. register(' fatJar' , Jar ) {
80+ archiveBaseName. set(" ${ rootProject.name} " )
81+ archiveVersion. set(" ${ appVersion} " )
82+ manifest {
83+ attributes(
84+ ' Main-Class' : ' dev.dobicinaitis.feedreader.Application'
85+ )
86+ }
87+ from {
88+ configurations. runtimeClasspath. collect { it. isDirectory() ? it : zipTree(it) }
89+ }
90+ with jar
91+ }
92+
7993shadowJar {
8094 archiveVersion = " ${ appVersion} "
8195 manifest {
0 commit comments