mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:57:46 +00:00
Ladybird/Android: Move gradle files to Ladybird/Android directory
And add documentation for how to use the thing
This commit is contained in:
parent
ec05b4bc0a
commit
78ebeb6a5a
10 changed files with 35 additions and 11 deletions
|
@ -1,8 +1,8 @@
|
|||
import com.android.build.gradle.internal.tasks.factory.dependsOn
|
||||
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
id("com.android.application") version "8.1.1"
|
||||
id("org.jetbrains.kotlin.android") version "1.9.0"
|
||||
}
|
||||
|
||||
var cacheDir = System.getenv("SERENITY_CACHE_DIR") ?: "$buildDir/caches"
|
||||
|
@ -11,11 +11,12 @@ task<Exec>("buildLagomTools") {
|
|||
commandLine = listOf("./BuildLagomTools.sh")
|
||||
environment = mapOf(
|
||||
"BUILD_DIR" to "$buildDir",
|
||||
"CACHE_DIR" to "$cacheDir",
|
||||
"CACHE_DIR" to cacheDir,
|
||||
"PATH" to System.getenv("PATH")!!
|
||||
)
|
||||
}
|
||||
tasks.named("preBuild").dependsOn("buildLagomTools")
|
||||
tasks.named("prepareKotlinBuildScriptModel").dependsOn("buildLagomTools")
|
||||
|
||||
android {
|
||||
namespace = "org.serenityos.ladybird"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue