- feature: Bots can receive message from server chat. - chore: remove redundant depdendency
35 lines
925 B
Groovy
35 lines
925 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group 'me.creepermaxcz.mc-bots'
|
|
version '1.2.5'
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
maven { url 'https://repo.opencollab.dev/maven-snapshots/' }
|
|
maven { url 'https://repo.opencollab.dev/maven-releases/' }
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.github.steveice10:mcprotocollib:1.19.1-SNAPSHOT'
|
|
implementation 'commons-cli:commons-cli:1.5.0'
|
|
implementation 'com.diogonunes:JColor:5.2.0'
|
|
implementation 'dnsjava:dnsjava:3.4.3'
|
|
implementation 'org.slf4j:slf4j-nop:1.7.32'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'me.creepermaxcz.mcbots.Main'
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
}
|
|
from {
|
|
configurations.runtimeClasspath.filter{ it.exists() }.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|