30 lines
578 B
Groovy
30 lines
578 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.github.hdvtdev'
|
|
version = '0.0.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.3'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
|
testImplementation 'org.jetbrains:annotations:26.0.2'
|
|
}
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
attributes(
|
|
'Main-Class' : 'hdvtdev.telegram.Main'
|
|
)
|
|
}
|
|
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
}
|