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, let me know that, how can we add the ojdbc6.jar into the build.gradle file.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You should be able to load your OJDBC dependency as a runtime requirement as follows:
dependencies {
runtime files('path/to/OJDBC6.jar')
}