I have the below in my build.gradle file
static def getVersionName() {
return new File("version").getText().trim()
}
When I use AdoptOpenJDK, it compiles well. However, when I use AzulOpenJDK, it complains:
* What went wrong:
A problem occurred evaluating project ':app'.
> version (No such file or directory)
Is there a difference in how AdoptOpenJDK and AzulOpenJDK handle the above command?
Making it
now works for both. Thanks @Clashsoft