From 29bc759ccabb840addb83870f0140a01641c8077 Mon Sep 17 00:00:00 2001 From: Tornaco Date: Mon, 16 Dec 2024 16:47:15 +0800 Subject: [PATCH] Fix project build order --- .../src/main/kotlin/tornaco/project/android/thanox/Aidl.kt | 6 ++++++ android/internal/Thanox-Internal | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/android/buildSrc/src/main/kotlin/tornaco/project/android/thanox/Aidl.kt b/android/buildSrc/src/main/kotlin/tornaco/project/android/thanox/Aidl.kt index 2e9092a4..2bb6ad4c 100644 --- a/android/buildSrc/src/main/kotlin/tornaco/project/android/thanox/Aidl.kt +++ b/android/buildSrc/src/main/kotlin/tornaco/project/android/thanox/Aidl.kt @@ -47,6 +47,12 @@ fun Project.addAidlTask() { tasks.named("compileJava") { dependsOn("idlGen") } + tasks.named("compileKotlin") { + dependsOn("idlGen") + if (tasks.findByName("generateProto") != null) { + dependsOn("generateProto") + } + } tasks.named("build") { dependsOn("idlGen") } diff --git a/android/internal/Thanox-Internal b/android/internal/Thanox-Internal index dc6dc3d7..89f93c33 160000 --- a/android/internal/Thanox-Internal +++ b/android/internal/Thanox-Internal @@ -1 +1 @@ -Subproject commit dc6dc3d773b12711e148367f219b00d54c4b3775 +Subproject commit 89f93c3332e0dd85231c8e0457842f7174f3d896