0

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.

isobretatel
  • 3,812
  • 7
  • 34
  • 49

1 Answers1

0

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?

Community
  • 1
  • 1
Opal
  • 81,889
  • 28
  • 189
  • 210