From 8d773973f64ee20853bb659815d5d7afeff50cd8 Mon Sep 17 00:00:00 2001 From: Daniel Dakhno Date: Fri, 13 Sep 2024 00:14:33 +0200 Subject: [PATCH] Kaitai: added gradle dependencies --- app/build.gradle | 7 +++++++ build.gradle | 2 ++ 2 files changed, 9 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 812b2ac09..dd9b809ec 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,6 +2,7 @@ import java.nio.file.Files apply plugin: "com.android.application" apply plugin: 'com.google.protobuf' +apply plugin: 'name.valery1707.kaitai' tasks.withType(Test) { systemProperty "MiFirmwareDir", System.getProperty("MiFirmwareDir", null) @@ -261,6 +262,8 @@ dependencies { // Needed for Armenian transliteration implementation 'org.ahocorasick:ahocorasick:0.6.3' + + implementation 'io.kaitai:kaitai-struct-runtime:0.10' } preBuild.dependsOn(":GBDaoGenerator:genSources") @@ -299,3 +302,7 @@ protobuf { } } } + +kaitai { + version 'hgjghjhgj' +} diff --git a/build.gradle b/build.gradle index eaaccb5e4..7f11905c7 100644 --- a/build.gradle +++ b/build.gradle @@ -12,6 +12,8 @@ buildscript { classpath 'com.android.tools.build:gradle:8.6.0' classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4' + + classpath 'name.valery1707.kaitai:kaitai-gradle-plugin:0.1.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }