some refactoring

This commit is contained in:
hdvtdev
2025-04-22 12:36:22 +03:00
parent 52c9264253
commit 7b66404e3e
4 changed files with 22 additions and 11 deletions

View File

@@ -10,18 +10,18 @@ repositories {
}
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.3'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation(project(":core"))
implementation(project(":longpolling-okhttp"))
implementation(project(":test"))
}
jar {
manifest {
attributes(
'Main-Class': 'hdvtdev.telegram.Main'
)
}
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
tasks.register('fat', Jar) {
archiveClassifier.set('all')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from sourceSets.main.output
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}