In Gradle, I would like to:
1. Specify a database file (e.g. .mdf file) as a dependency.
2. Attach that file to database instance.
I know how to do #2, using file path.
I don't know how to get file path of a downloaded dependency.
In Gradle, I would like to:
1. Specify a database file (e.g. .mdf file) as a dependency.
2. Attach that file to database instance.
I know how to do #2, using file path.
I don't know how to get file path of a downloaded dependency.
Please have a look at this question - it's quite self explanatory. However I suppose that better idea might be keeping the mdf
file under src/main/resources
. Why don't You put it there?