From 713dbc225ecf7fee88cf8f4bacd4f4cd3f221279 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 10 Aug 2020 21:26:23 +0300 Subject: [PATCH] Other repositories monitoring --- .../kotlin/code/CodeConformanceTest.kt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/compiler/tests/org/jetbrains/kotlin/code/CodeConformanceTest.kt b/compiler/tests/org/jetbrains/kotlin/code/CodeConformanceTest.kt index 0bf3862bf88..3eae3c73106 100644 --- a/compiler/tests/org/jetbrains/kotlin/code/CodeConformanceTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/code/CodeConformanceTest.kt @@ -22,6 +22,7 @@ class CodeConformanceTest : TestCase() { File("."), listOf( ".git", + ".idea", "build/js", "buildSrc", "compiler/build", @@ -289,6 +290,18 @@ class CodeConformanceTest : TestCase() { val root = nonSourcesMatcher.root val repoCheckers = listOf( + RepoAllowList( + "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev", root, setOf("gradle/cacheRedirector.gradle.kts") + ), + RepoAllowList( + "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev", root, setOf() + ), + RepoAllowList( + "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/eap", root, setOf("gradle/cacheRedirector.gradle.kts") + ), + RepoAllowList( + "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev", root, setOf() + ), RepoAllowList( "https://dl.bintray.com/kotlin/kotlin-dev", root, setOf( "libraries/tools/new-project-wizard/new-project-wizard-cli/testData", @@ -312,6 +325,7 @@ class CodeConformanceTest : TestCase() { "idea/testData/perfTest/native/_common/build.gradle.kts.header" ) ), + RepoAllowList("https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-dev", root, setOf()), RepoAllowList( "https://dl.bintray.com/kotlin/kotlin-eap", root, setOf( "kotlin-ultimate/ide/android-studio-native/testData/wizard/expected/app/build.gradle.kts", @@ -343,7 +357,10 @@ class CodeConformanceTest : TestCase() { "libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/core/service/KotlinVersionProviderService.kt", "idea/testData/perfTest/native/_common/build.gradle.kts.header" ) - ) + ), + RepoAllowList("https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-eap", root, setOf()), + RepoAllowList("https://dl.bintray.com/kotlin/kotlin-bootstrap", root, setOf()), + RepoAllowList("https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-bootstrap", root, setOf()), ) data class RepoOccurance(val repo: String, val file: File)