mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-22 15:19:10 +00:00
37 lines
823 B
Groovy
37 lines
823 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")
|
|
|
|
}
|
|
|
|
tasks.register('makeEmoji', JavaExec) {
|
|
dependsOn['jar']
|
|
mainClass = '-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_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|