diff --git a/build.gradle b/build.gradle index 9142a68..ca45e03 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,11 @@ */ plugins { + id 'java' id 'java-library' id 'maven-publish' id 'io.freefair.lombok' version '8.0.1' + id 'com.github.johnrengelman.shadow' version '8.1.1' } group = 'land.chipmunk.chayapak' @@ -44,6 +46,12 @@ dependencies { implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.20.0' } +jar { + manifest { + attributes 'Main-Class': 'land.chipmunk.chayapak.chomens_bot.Main' + } +} + publishing { publications { maven(MavenPublication) {