Skip to content

Commit

Permalink
Remove maybenot_machines
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Dec 12, 2024
1 parent b2facee commit 1b940e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ plugins {
}

val repoRootPath = rootProject.projectDir.absoluteFile.parentFile.absolutePath
val assetsDirectory = layout.projectDirectory.dir("src/main/assets")
val extraAssetsDirectory = layout.buildDirectory.dir("extraAssets").get()
val relayListPath = extraAssetsDirectory.file("relays.json").asFile
val defaultChangelogAssetsDirectory = "$repoRootPath/android/src/main/play/release-notes/"
val rustJniLibs = layout.buildDirectory.dir("rustJniLibs/android").get()

val credentialsPath = "${rootProject.projectDir}/credentials"
val keystorePropertiesFile = file("$credentialsPath/keystore.properties")
Expand Down Expand Up @@ -131,7 +129,7 @@ android {
gradleLocalProperties(rootProject.projectDir, providers)
.getOrDefault("OVERRIDE_CHANGELOG_DIR", defaultChangelogAssetsDirectory)

assets.srcDirs(assetsDirectory, extraAssetsDirectory, changelogDir)
assets.srcDirs(extraAssetsDirectory, changelogDir)
}
}

Expand Down Expand Up @@ -314,7 +312,7 @@ tasks.register<Exec>("generateRelayList") {
// Create file if needed
File("$extraAssetsDirectory").mkdirs()
File("$extraAssetsDirectory/relays.json").createNewFile()
FileOutputStream("$assetsDirectory/relays.json").use { it.write(output.toByteArray()) }
FileOutputStream("$extraAssetsDirectory/relays.json").use { it.write(output.toByteArray()) }

// Old ensure exists tasks
if (!relayListPath.exists()) {
Expand Down
1 change: 0 additions & 1 deletion android/app/src/main/assets/maybenot_machines

This file was deleted.

0 comments on commit 1b940e2

Please sign in to comment.