mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-24 00:26:22 +00:00
36 lines
811 B
Groovy
36 lines
811 B
Groovy
|
apply plugin: 'java'
|
||
|
apply plugin: 'kotlin'
|
||
|
|
||
|
version 'unspecified'
|
||
|
|
||
|
jar {
|
||
|
manifest {
|
||
|
attributes["Main-Class"] = 'com/majeur/inputmethod/tools/emoji/MakeEmojiKeys'
|
||
|
}
|
||
|
from {
|
||
|
configurations.runtimeClasspath.collect {
|
||
|
it.isDirectory() ? it : zipTree(it)
|
||
|
}
|
||
|
}
|
||
|
from("src/main/ressources")
|
||
|
|
||
|
}
|
||
|
|
||
|
task makeEmoji(type: JavaExec, dependsOn: ['jar']) {
|
||
|
main = '-jar'
|
||
|
args jar.archiveFile.get()
|
||
|
args '-res'
|
||
|
args project.rootProject.project('app').projectDir.path + File.separator + 'src' +
|
||
|
File.separator + 'main' + File.separator + 'res'
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
java {
|
||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||
|
}
|