Is there any possibility to bind string constant w...
# announcements
t
Is there any possibility to bind string constant with file content? For example:
Copy code
App.kt
-----------
@FileContent("f.txt")
val fileContent:String

fun test() {
    // Print content:
    // 1. First line
    // 2. Second line
    // 3. Third line
    println(fileContent)
}

f.txt
-----------
1. First line
2. Second line
3. Third line