Skip to content

Commit 1f95b54

Browse files
jimschubertwing328
authored andcommitted
Include mavenCentral in java build.gradle (#1653)
the android dep is currently missing from jcenter. This adds mavenCentral as an additional repository to the default java generator's build.gradle.
1 parent 95c7443 commit 1f95b54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/openapi-generator/src/main/resources/Java/build.gradle.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ version = '{{artifactVersion}}'
66

77
buildscript {
88
repositories {
9+
mavenCentral()
910
jcenter()
1011
}
1112
dependencies {
@@ -15,6 +16,7 @@ buildscript {
1516
}
1617

1718
repositories {
19+
mavenCentral()
1820
jcenter()
1921
}
2022

0 commit comments

Comments
 (0)