mirror of
https://github.com/HMCore/Orbot.git
synced 2025-12-12 13:56:18 +00:00
51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
plugins {
|
|
id 'org.jetbrains.kotlin.jvm' version '1.4.0'
|
|
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.0'
|
|
}
|
|
|
|
group 'de.wulkanat'
|
|
version '1.4.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
|
|
maven {
|
|
url 'https://dl.bintray.com/nephyproject/stable'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
|
|
implementation 'blue.starry:penicillin:5.0.0'
|
|
|
|
compile 'net.dv8tion:JDA:4.2.0_204'
|
|
compile 'org.jsoup:jsoup:1.13.1'
|
|
compile 'org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0-RC'
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = '1.8'
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = '1.8'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes('Main-Class': 'de.wulkanat.MainKt')
|
|
}
|
|
}
|
|
|
|
task fatJar(type: Jar) {
|
|
baseName = project.name + '-all'
|
|
from((configurations.compile.findAll { !it.path.endsWith('.pom') }).collect {
|
|
it.isDirectory() ? it : zipTree(it)
|
|
})
|
|
with jar
|
|
manifest {
|
|
attributes 'Main-Class': 'de.wulkanat.MainKt',
|
|
'Implementation-Version': version
|
|
}
|
|
}
|