File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ version = "2.11.4"
36
36
37
37
repositories {
38
38
mavenLocal()
39
- mavenCentral()
40
- jcenter()
39
+ maven { url " https://maven.aliyun.com/nexus/content/groups/public/" } // 优先使用阿里的镜像 mavenCentral()
41
40
// flatDir(dirs: file('jarsDerectory'))
42
41
}
43
42
44
43
45
44
dependencies {
46
- compile files(" lib/jackson-annotations-${ project.version} .jar" )
47
- compile files(" lib/jackson-core-${ project.version} .jar" )
48
- compile files(" lib/jackson-databind-${ project.version} .jar" )
45
+ compile " com.fasterxml.jackson.core:jackson-core:${ project.version} "
46
+ compile " com.fasterxml.jackson.core:jackson-annotations:${ project.version} "
47
+ compile " com.fasterxml.jackson.core:jackson-databind:${ project.version} "
48
+
49
49
// 或者: compile fileTree(dir: "lib", includes: ["*.jar"])
50
50
}
51
51
You can’t perform that action at this time.
0 commit comments