Skip to content

Commit

Permalink
corrected after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed May 13, 2024
1 parent 9f3325f commit bab43cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
13 changes: 0 additions & 13 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,6 @@ subprojects {
jvmToolchain(11)
}

repositories {
mavenCentral()
maven {
name = "Sonatype_snapshots"
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

maven {
name = "Sonatype_releases"
url = uri("https://s01.oss.sonatype.org/content/repositories/releases/")
}
}

configurations.all {
resolutionStrategy.cacheChangingModulesFor(0, "seconds")
resolutionStrategy.cacheDynamicVersionsFor(0, "seconds")
Expand Down
9 changes: 9 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven {
name = "Sonatype_snapshots"
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

maven {
name = "Sonatype_releases"
url = uri("https://s01.oss.sonatype.org/content/repositories/releases/")
}
}
}

Expand Down

0 comments on commit bab43cc

Please sign in to comment.