How to use Oracle JDBC driver in Gradle project

前端 未结 7 1183
醉话见心
醉话见心 2020-12-15 19:09

I\'m new with Gradle projects and I have one question. I\'ve searched in Internet but I couldn\'t find what I need or maybe I couldn\'t know how to search it. First I\'m goi

7条回答
  •  囚心锁ツ
    2020-12-15 19:41

    You can simply add a jar as dependency, like so:

    compile files('libs/ojdbc7.jar')
    

    And there is no need to add a flatDir repository in that case. Read about it in the official user guide

提交回复
热议问题