mirror of
https://github.com/HMCore/Orbot.git
synced 2026-01-03 16:22:53 +00:00
added shadow jar
This commit is contained in:
14
build.gradle
14
build.gradle
@@ -1,6 +1,8 @@
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.5.10'
|
||||
id 'org.jetbrains.kotlin.plugin.serialization' version '1.5.10'
|
||||
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
||||
|
||||
}
|
||||
|
||||
group 'org.wulkanat'
|
||||
@@ -41,16 +43,4 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
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': 'org.wulkanat.MainKt',
|
||||
'Implementation-Version': version
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'kotlinx-serialization'
|
||||
|
||||
Reference in New Issue
Block a user