Fix scripts

This commit is contained in:
2021-05-19 09:49:52 +02:00
parent a726631925
commit f488e6bad0
3 changed files with 27 additions and 1 deletions

View File

@@ -29,6 +29,13 @@ allprojects {
maven { url 'https://jitpack.io' }
mavenCentral()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
task clean(type: Delete) {
@@ -89,6 +96,24 @@ task buildGramm() {
}
}
task buildIme() {
doFirst {
copy {
from 'dynamic_ime/src/main/java/it/integry'
into 'app/src/main/java/it/integry'
}
}
dependsOn "app:build"
doLast {
copy {
from 'app/build/outputs/apk/release'
into 'dist/release/ime'
}
}
}
task buildSaporiVeriPV() {
doFirst {
copy {