Wizard: Do not add bintray repoitory for eap versions
This commit is contained in:
-11
@@ -22,19 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
||||
|
||||
-11
@@ -22,19 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
||||
|
||||
-11
@@ -22,19 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
||||
|
||||
-11
@@ -22,19 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
||||
|
||||
-10
@@ -21,18 +21,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<modules>
|
||||
<module>a</module>
|
||||
<module>b</module>
|
||||
|
||||
-11
@@ -22,19 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
||||
|
||||
-10
@@ -22,18 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
|
||||
-11
@@ -22,19 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
||||
|
||||
-11
@@ -22,19 +22,8 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||||
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
||||
|
||||
-1
@@ -9,7 +9,6 @@ version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
+2
-6
@@ -22,16 +22,12 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -10,7 +10,6 @@ version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
+2
-6
@@ -22,16 +22,12 @@
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>bintray.kotlin.kotlin-eap</id>
|
||||
<url>KOTLIN_REPO</url>
|
||||
<id>mavenCentral</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -8,7 +8,6 @@ version = '1.0-SNAPSHOT'
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
-1
@@ -8,7 +8,6 @@ version = "1.0-SNAPSHOT"
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -11,7 +11,6 @@ version = '1.0-SNAPSHOT'
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-js-wrappers' }
|
||||
maven { url 'https://dl.bintray.com/kotlin/kotlinx' }
|
||||
maven { url 'https://dl.bintray.com/kotlin/ktor' }
|
||||
|
||||
-1
@@ -11,7 +11,6 @@ version = "1.0-SNAPSHOT"
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-js-wrappers") }
|
||||
maven { url = uri("https://dl.bintray.com/kotlin/kotlinx") }
|
||||
maven { url = uri("https://dl.bintray.com/kotlin/ktor") }
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -7,7 +7,6 @@ version = '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -7,7 +7,6 @@ version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -9,7 +9,6 @@ version = '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -7,7 +7,6 @@ version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
-2
@@ -3,7 +3,7 @@ buildscript {
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
google()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath('org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION')
|
||||
@@ -19,6 +19,5 @@ allprojects {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
}
|
||||
+1
-2
@@ -3,7 +3,7 @@ buildscript {
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
google()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION")
|
||||
@@ -19,6 +19,5 @@ allprojects {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
}
|
||||
-1
@@ -4,7 +4,6 @@ pluginManagement {
|
||||
jcenter()
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -4,7 +4,6 @@ pluginManagement {
|
||||
jcenter()
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -11,7 +11,6 @@ repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -11,7 +11,6 @@ repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -4,7 +4,6 @@ pluginManagement {
|
||||
jcenter()
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
|
||||
-1
@@ -4,7 +4,6 @@ pluginManagement {
|
||||
jcenter()
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
|
||||
-1
@@ -9,7 +9,6 @@ version = '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -7,7 +7,6 @@ version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url 'KOTLIN_REPO' }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven { url = uri("KOTLIN_REPO") }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-2
@@ -53,9 +53,7 @@ abstract class AbstractBuildFileGenerationTest : UsefulTestCase() {
|
||||
KOTLIN_VERSION_PLACEHOLDER
|
||||
).replaceAllTo(
|
||||
listOf(
|
||||
Repositories.KOTLIN_EAP_BINTRAY.url,
|
||||
Repositories.KOTLIN_DEV_BINTRAY.url,
|
||||
KotlinVersionProviderTestWizardService.KOTLIN_EAP_BINTRAY_WITH_CACHE_REDIRECTOR.url,
|
||||
KotlinVersionProviderTestWizardService.KOTLIN_DEV_BINTRAY_WITH_CACHE_REDIRECTOR.url,
|
||||
),
|
||||
KOTLIN_REPO_PLACEHOLDER
|
||||
|
||||
+2
-3
@@ -36,15 +36,14 @@ class KotlinVersionProviderTestWizardService() : KotlinVersionProviderService(),
|
||||
|
||||
private fun getKotlinVersionRepositoryWithCacheRedirector(versionKind: KotlinVersionKind): Repository = when (versionKind) {
|
||||
KotlinVersionKind.STABLE -> DefaultRepository.MAVEN_CENTRAL
|
||||
KotlinVersionKind.EAP -> KOTLIN_EAP_BINTRAY_WITH_CACHE_REDIRECTOR
|
||||
KotlinVersionKind.EAP -> DefaultRepository.MAVEN_CENTRAL
|
||||
KotlinVersionKind.DEV -> KOTLIN_DEV_BINTRAY_WITH_CACHE_REDIRECTOR
|
||||
KotlinVersionKind.M -> KOTLIN_EAP_BINTRAY_WITH_CACHE_REDIRECTOR
|
||||
KotlinVersionKind.M -> DefaultRepository.MAVEN_CENTRAL
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val CACHE_REDIRECTOR_BINTRAY_URL = "https://cache-redirector.jetbrains.com/dl.bintray.com"
|
||||
|
||||
val KOTLIN_EAP_BINTRAY_WITH_CACHE_REDIRECTOR = BintrayRepository("kotlin/kotlin-eap", CACHE_REDIRECTOR_BINTRAY_URL)
|
||||
val KOTLIN_DEV_BINTRAY_WITH_CACHE_REDIRECTOR = BintrayRepository("kotlin/kotlin-dev", CACHE_REDIRECTOR_BINTRAY_URL)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user