Gradle introduces third-party jars and manually adds local jars

1. Project structure

1.1 Description:

1 is the parent project, including wms-print

2. Configuration file

3.print project

4. The newly created libs package in the project root directory (the name is customized)

5.Print the configuration file


3

2. Steps and Instructions


2.1 In this case, the remote warehouse does not have the required jar, so it needs to be added manually.

2.2 Create new libs in the print root directory and put the desired jar package

2.3 Add in the build.gradle file of print


 repositories {
        flatDir {  dirs 'libs' }

    }



Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326705466&siteId=291194637