diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | build.gradle | 14 |
2 files changed, 16 insertions, 0 deletions
@@ -112,3 +112,5 @@ Thumbs.db /ios/xcode/native/ /ios/IOSLauncher.app /ios/IOSLauncher.app.dSYM + +assets.txt
\ No newline at end of file diff --git a/build.gradle b/build.gradle index 1f4a062..a770292 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,18 @@ buildscript { } } +task writeAllAssetsToFile { + doLast { + def assetsFolder = new File("${project.rootDir}/assets/") + def assetsFile = new File(assetsFolder, "assets.txt") + assetsFile.delete() + + fileTree(assetsFolder).collect {assetsFolder.relativePath(it) }.each { + assetsFile.append(it + "\n") + } + } +} + allprojects { apply plugin: "eclipse" @@ -79,4 +91,6 @@ project(":core") { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" } + + compileJava.dependsOn writeAllAssetsToFile } |
