Skip to content

Commit e87e9de

Browse files
authored
Fix repositories (#40)
* fix version * remove Oracle internal repositories
1 parent f10fbba commit e87e9de

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

buildSrc/src/main/groovy/gdk-base.gradle

+3-8
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ plugins {
2222
group = 'gdk'
2323

2424
repositories {
25-
maven {
26-
url 'https://s01.oss.sonatype.org/content/repositories/snapshots'
27-
}
28-
maven {
29-
url 'https://artifacthub-phx.oci.oraclecorp.com/artifactory/micronaut-gcn-stage/'
30-
}
25+
maven { url 'https://maven.oracle.com/public' }
3126
mavenCentral()
3227
}
3328

@@ -55,8 +50,8 @@ publishing {
5550
}
5651
repositories {
5752
maven {
58-
name = "build"
59-
url = rootProject.layout.buildDirectory.dir("repo")
53+
name = 'build'
54+
url = rootProject.layout.buildDirectory.dir('repo')
6055
}
6156
}
6257
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
org.gradle.parallel=true
22
org.gradle.caching=true
3-
version=4.6.0.3
3+
version=4.7.3.1

settings.gradle

+4-6
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ file('.').eachDir {
2424

2525
enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS'
2626

27-
String[] fileLines = new File(rootProject.projectDir.absoluteFile, "gradle/templates.versions.toml").text.split("\n")
28-
String micronautPlatformVersion = fileLines.find { it.contains("micronaut-platform") }.split("=")[1].replace('"', '').strip()
27+
String[] fileLines = new File(rootProject.projectDir.absoluteFile, 'gradle/templates.versions.toml').text.split('\n')
28+
String micronautPlatformVersion = fileLines.find { it.contains('micronaut-platform') }.split('=')[1].replace('"', '').strip()
2929

3030
dependencyResolutionManagement {
3131
repositories {
32-
maven {
33-
url 'https://artifacthub-phx.oci.oraclecorp.com/artifactory/micronaut-gcn-stage/'
34-
}
32+
maven { url 'https://maven.oracle.com/public' }
3533
mavenCentral()
3634
gradlePluginPortal()
3735
}
@@ -40,7 +38,7 @@ dependencyResolutionManagement {
4038
from "io.micronaut.platform:micronaut-platform:$micronautPlatformVersion"
4139
}
4240
templateLibs {
43-
from(files("gradle/templates.versions.toml"))
41+
from(files('gradle/templates.versions.toml'))
4442
}
4543
}
4644
}

0 commit comments

Comments
 (0)