Coeur-Morny-Cono/build.gradle

56 lines
896 B
Groovy
Raw Normal View History

2021-11-09 17:33:56 +08:00
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.0.0'
}
}
2021-10-07 20:50:59 +08:00
plugins {
id 'java'
}
group 'cc.sukazyo'
version '0.2.0'
2021-10-07 20:50:59 +08:00
repositories {
mavenCentral()
}
dependencies {
implementation 'com.github.pengrad:java-telegram-bot-api:5.3.0'
2021-10-07 20:50:59 +08:00
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
2021-10-07 20:50:59 +08:00
}
test {
useJUnitPlatform()
}
2021-11-09 17:33:56 +08:00
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
options.docEncoding = 'UTF-8'
options.charSet = 'UTF-8'
}
tasks.test {
useJUnitPlatform()
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'application'
shadowJar {
mainClassName = 'cc.sukazyo.cono.morny.MornyCoeur'
archiveBaseName.set("Morny_Coeur")
archiveVersion.set(version)
}