https://kotlinlang.org logo
#amper
Title
# amper
j

Jakub Gwóźdź

12/04/2023, 2:19 PM
in the new Amper’s layout, what’s the directory for resources? along with the kotlin sources?
a

Alexander Tsarev

12/04/2023, 4:59 PM
Hi! For now
resources[@modifier]
directories are available on the same level as
src[@modifier]
directories. They are treated the same way, as kotlin multiplatform plugin resources are. Also, if Android is included into platform list
res
and
assets
directories are treated as Android resources, following AGP convention.
Si, file tree can be:
Copy code
root/
|- src/
|- src@jvm/
|- resources/
\- resources@jvm/
j

Jakub Gwóźdź

12/04/2023, 5:00 PM
👍
And testResources similarly?
true 1
🙇
welcome 1
Great!
2 Views