37 lines
700 B
Groovy
37 lines
700 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
group = 'com.github.hdvtdev'
|
|
version = '1.0.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core"))
|
|
annotationProcessor(project(":annotation-processor"))
|
|
implementation(project(":longpolling-okhttp"))
|
|
implementation(project(":event-handlers"))
|
|
implementation(project(":event-handlers-annotations"))
|
|
|
|
|
|
}
|
|
|
|
application {
|
|
mainClass = "Main"
|
|
}
|
|
|
|
tasks.register('fat', Jar) {
|
|
archiveClassifier.set('all')
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
from sourceSets.main.output
|
|
|
|
from {
|
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|
|
|