Gradle: Make a 3rd party jar available to local gradle repository

前端 未结 6 1672
我在风中等你
我在风中等你 2020-12-04 17:44

currently, I\'m testing Gradle as an alternative to Maven. In my projects, there are some 3rd party jars, which aren\'t available in any (Maven) repositories. My problem is

6条回答
  •  Happy的楠姐
    2020-12-04 18:18

    I think something like this should work:

    dependencies {
      files('yourfile.jar')
    }
    

    Does it work for you?

提交回复
热议问题