plugins { id 'java' id 'org.jetbrains.kotlin.jvm' version '1.4.10' id "com.github.johnrengelman.shadow" version "6.1.0" } repositories { mavenCentral() jcenter() } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { jvmTarget = "1.8" } } tasks.named('jar') { manifest { attributes('Implementation-Title': project.name, 'Implementation-Version': project.version) } } group 'dev.w1zzrd' version '1.0-SNAPSHOT' compileJava { sourceCompatibility = '1.8' targetCompatibility = '1.8' } dependencies { implementation "com.fasterxml.jackson.core:jackson-core:2.12.2" implementation "com.fasterxml.jackson.core:jackson-databind:2.12.2" implementation "org.jetbrains.kotlin:kotlin-stdlib" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' compile("net.dv8tion:JDA:4.2.0_168") } test { useJUnitPlatform() } shadowJar { manifest { attributes( 'Implementation-Title': project.name, 'Implementation-Version': project.version, 'Main-Class': "dev.w1zzrd.swearnt.InitKt" ) } }