How to add OJDBC6.jar in build.gradle file?

前端 未结 1 1654
挽巷
挽巷 2021-01-19 16:27

I am connecting to Oracle Db in my application and trying to build the app with gradle build. I am unable to access the OJDBC6.jar from gradle build. can some one please, le

相关标签:
1条回答
  • 2021-01-19 17:22

    You should be able to load your OJDBC dependency as a runtime requirement as follows:

    dependencies {
        runtime files('path/to/OJDBC6.jar')
    }
    
    0 讨论(0)
提交回复
热议问题