Fix scripts

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

View File

@ -72,6 +72,7 @@ android {
lintOptions {
abortOnError false
checkReleaseBuilds false
}
dynamicFeatures = [":dynamic__base"]

View File

@ -161,7 +161,7 @@ public class DialogSimpleMessageView extends BaseDialogFragment {
String currentKey = mHashmapContent.keySet().toArray()[i].toString();
String currentValue = mHashmapContent.get(currentKey);
RelativeLayout singleMapContent = (RelativeLayout) inflater.inflate(R.layout.dialog_custom_content_hashmap_viewmodel, null);
RelativeLayout singleMapContent = (RelativeLayout) inflater.inflate(R.layout.dialog_custom_content_hashmap_viewmodel, hashMapContainer);
((TextView) singleMapContent.findViewById(R.id.dialog_content_hashmap_key)).setText(currentKey);
((TextView) singleMapContent.findViewById(R.id.dialog_content_hashmap_value)).setText(currentValue);

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 {