Changed gradle-plugin version in Gradle tests.
When 6.5.1 Gradle version was added, more tests have began to fail because of legacy gradle-plugin versions (1.1., 1.2.) which are not compatible with the new version of Gradle. This commit updates the used version of the Gradle plugin to the latest stable (1.3.72) and makes it configurable from tests.
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ class GradleConfiguratorTest : GradleImportingTestCase() {
|
|||||||
"""
|
"""
|
||||||
<p>The compiler bundled to Kotlin plugin (1.0.0) is older than external compiler used for building modules:</p>
|
<p>The compiler bundled to Kotlin plugin (1.0.0) is older than external compiler used for building modules:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>app (1.1.0)</li>
|
<li>app (${LATEST_STABLE_GRADLE_PLUGIN_VERSION})</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>This may cause different set of errors and warnings reported in IDE.</p>
|
<p>This may cause different set of errors and warnings reported in IDE.</p>
|
||||||
<p><a href="update">Update</a> <a href="ignore">Ignore</a></p>
|
<p><a href="update">Update</a> <a href="ignore">Ignore</a></p>
|
||||||
|
|||||||
+24
@@ -72,6 +72,7 @@ internal fun GradleImportingTestCase.getSourceRootInfos(moduleName: String): Lis
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//ToDo: Remove @TargetVersions("4.7 <=> 6.0") after updating plugin versions in testData
|
||||||
class GradleFacetImportTest : GradleImportingTestCase() {
|
class GradleFacetImportTest : GradleImportingTestCase() {
|
||||||
|
|
||||||
private fun assertSameKotlinSdks(vararg moduleNames: String) {
|
private fun assertSameKotlinSdks(vararg moduleNames: String) {
|
||||||
@@ -82,6 +83,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImport() {
|
fun testJvmImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -140,6 +142,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImport_1_1_2() {
|
fun testJvmImport_1_1_2() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -184,6 +187,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportWithCustomSourceSets() {
|
fun testJvmImportWithCustomSourceSets() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -230,6 +234,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportWithCustomSourceSets_1_1_2() {
|
fun testJvmImportWithCustomSourceSets_1_1_2() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -274,6 +279,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testCoroutineImportByOptions() {
|
fun testCoroutineImportByOptions() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -284,6 +290,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testCoroutineImportByProperties() {
|
fun testCoroutineImportByProperties() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -453,6 +460,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportByPlatformPlugin() {
|
fun testJvmImportByPlatformPlugin() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -548,6 +556,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportByKotlinPlugin() {
|
fun testJvmImportByKotlinPlugin() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -604,6 +613,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testArgumentEscaping() {
|
fun testArgumentEscaping() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -685,6 +695,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testKotlinAndroidPluginDetection() {
|
fun testKotlinAndroidPluginDetection() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
createProjectSubFile(
|
createProjectSubFile(
|
||||||
@@ -698,6 +709,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testNoFacetInModuleWithoutKotlinPlugin() {
|
fun testNoFacetInModuleWithoutKotlinPlugin() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
|
|
||||||
@@ -710,6 +722,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testClasspathWithDependenciesImport() {
|
fun testClasspathWithDependenciesImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -720,6 +733,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testDependenciesClasspathImport() {
|
fun testDependenciesClasspathImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -730,6 +744,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJDKImport() {
|
fun testJDKImport() {
|
||||||
val mockJdkPath = "compiler/testData/mockJDK"
|
val mockJdkPath = "compiler/testData/mockJDK"
|
||||||
object : WriteAction<Unit>() {
|
object : WriteAction<Unit>() {
|
||||||
@@ -783,6 +798,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testAPIVersionExceedingLanguageVersion() {
|
fun testAPIVersionExceedingLanguageVersion() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -796,6 +812,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testIgnoreProjectLanguageAndAPIVersion() {
|
fun testIgnoreProjectLanguageAndAPIVersion() {
|
||||||
KotlinCommonCompilerArgumentsHolder.getInstance(myProject).update {
|
KotlinCommonCompilerArgumentsHolder.getInstance(myProject).update {
|
||||||
languageVersion = "1.0"
|
languageVersion = "1.0"
|
||||||
@@ -814,6 +831,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testCommonArgumentsImport() {
|
fun testCommonArgumentsImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -861,6 +879,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testInternalArgumentsFacetImporting() {
|
fun testInternalArgumentsFacetImporting() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -881,6 +900,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testStableModuleNameWhileUsingGradleJS() {
|
fun testStableModuleNameWhileUsingGradleJS() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -893,6 +913,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testStableModuleNameWhileUsingGradleJVM() {
|
fun testStableModuleNameWhileUsingGradleJVM() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -904,6 +925,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testNoFriendPathsAreShown() {
|
fun testNoFriendPathsAreShown() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -917,6 +939,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testSharedLanguageVersion() {
|
fun testSharedLanguageVersion() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
|
|
||||||
@@ -930,6 +953,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testNonSharedLanguageVersion() {
|
fun testNonSharedLanguageVersion() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
val holder = KotlinCommonCompilerArgumentsHolder.getInstance(myProject)
|
val holder = KotlinCommonCompilerArgumentsHolder.getInstance(myProject)
|
||||||
|
|||||||
+24
@@ -72,6 +72,7 @@ internal fun GradleImportingTestCase.getSourceRootInfos(moduleName: String): Lis
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//ToDo: Remove @TargetVersions("4.7 <=> 6.0") after updating plugin versions in testData
|
||||||
class GradleFacetImportTest : GradleImportingTestCase() {
|
class GradleFacetImportTest : GradleImportingTestCase() {
|
||||||
|
|
||||||
private fun assertSameKotlinSdks(vararg moduleNames: String) {
|
private fun assertSameKotlinSdks(vararg moduleNames: String) {
|
||||||
@@ -82,6 +83,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImport() {
|
fun testJvmImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -140,6 +142,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImport_1_1_2() {
|
fun testJvmImport_1_1_2() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -184,6 +187,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportWithCustomSourceSets() {
|
fun testJvmImportWithCustomSourceSets() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -230,6 +234,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportWithCustomSourceSets_1_1_2() {
|
fun testJvmImportWithCustomSourceSets_1_1_2() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -274,6 +279,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testCoroutineImportByOptions() {
|
fun testCoroutineImportByOptions() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -284,6 +290,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testCoroutineImportByProperties() {
|
fun testCoroutineImportByProperties() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -453,6 +460,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportByPlatformPlugin() {
|
fun testJvmImportByPlatformPlugin() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -548,6 +556,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJvmImportByKotlinPlugin() {
|
fun testJvmImportByKotlinPlugin() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -604,6 +613,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testArgumentEscaping() {
|
fun testArgumentEscaping() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -685,6 +695,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testKotlinAndroidPluginDetection() {
|
fun testKotlinAndroidPluginDetection() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
createProjectSubFile(
|
createProjectSubFile(
|
||||||
@@ -698,6 +709,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testNoFacetInModuleWithoutKotlinPlugin() {
|
fun testNoFacetInModuleWithoutKotlinPlugin() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
|
|
||||||
@@ -710,6 +722,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testClasspathWithDependenciesImport() {
|
fun testClasspathWithDependenciesImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -720,6 +733,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testDependenciesClasspathImport() {
|
fun testDependenciesClasspathImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -730,6 +744,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testJDKImport() {
|
fun testJDKImport() {
|
||||||
object : WriteAction<Unit>() {
|
object : WriteAction<Unit>() {
|
||||||
override fun run(result: Result<Unit>) {
|
override fun run(result: Result<Unit>) {
|
||||||
@@ -780,6 +795,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testAPIVersionExceedingLanguageVersion() {
|
fun testAPIVersionExceedingLanguageVersion() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -793,6 +809,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testIgnoreProjectLanguageAndAPIVersion() {
|
fun testIgnoreProjectLanguageAndAPIVersion() {
|
||||||
KotlinCommonCompilerArgumentsHolder.getInstance(myProject).update {
|
KotlinCommonCompilerArgumentsHolder.getInstance(myProject).update {
|
||||||
languageVersion = "1.0"
|
languageVersion = "1.0"
|
||||||
@@ -811,6 +828,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testCommonArgumentsImport() {
|
fun testCommonArgumentsImport() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -858,6 +876,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testInternalArgumentsFacetImporting() {
|
fun testInternalArgumentsFacetImporting() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -878,6 +897,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testStableModuleNameWhileUsingGradleJS() {
|
fun testStableModuleNameWhileUsingGradleJS() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -890,6 +910,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testStableModuleNameWhileUsingGradleJVM() {
|
fun testStableModuleNameWhileUsingGradleJVM() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -901,6 +922,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testNoFriendPathsAreShown() {
|
fun testNoFriendPathsAreShown() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -914,6 +936,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testSharedLanguageVersion() {
|
fun testSharedLanguageVersion() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
|
|
||||||
@@ -927,6 +950,7 @@ class GradleFacetImportTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testNonSharedLanguageVersion() {
|
fun testNonSharedLanguageVersion() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
val holder = KotlinCommonCompilerArgumentsHolder.getInstance(myProject)
|
val holder = KotlinCommonCompilerArgumentsHolder.getInstance(myProject)
|
||||||
|
|||||||
+13
-7
@@ -88,7 +88,7 @@ import java.util.zip.ZipFile
|
|||||||
@Parameterized.UseParametersRunnerFactory(RunnerFactoryWithMuteInDatabase::class)
|
@Parameterized.UseParametersRunnerFactory(RunnerFactoryWithMuteInDatabase::class)
|
||||||
abstract class GradleImportingTestCase : ExternalSystemImportingTestCase() {
|
abstract class GradleImportingTestCase : ExternalSystemImportingTestCase() {
|
||||||
|
|
||||||
protected var sdkCreationChecker : KotlinSdkCreationChecker? = null
|
protected var sdkCreationChecker: KotlinSdkCreationChecker? = null
|
||||||
|
|
||||||
private val removedSdks: MutableList<Sdk> = SmartList()
|
private val removedSdks: MutableList<Sdk> = SmartList()
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ abstract class GradleImportingTestCase : ExternalSystemImportingTestCase() {
|
|||||||
|
|
||||||
open fun isApplicableTest(): Boolean = true
|
open fun isApplicableTest(): Boolean = true
|
||||||
|
|
||||||
open fun jvmHeapArgsByGradleVersion(version: String) : String = when {
|
open fun jvmHeapArgsByGradleVersion(version: String): String = when {
|
||||||
version.startsWith("4.") ->
|
version.startsWith("4.") ->
|
||||||
// work-around due to memory leak in class loaders in gradle. The amount of used memory in the gradle daemon
|
// work-around due to memory leak in class loaders in gradle. The amount of used memory in the gradle daemon
|
||||||
// is drammatically increased on every reimport of project due to sequential compilation of build scripts.
|
// is drammatically increased on every reimport of project due to sequential compilation of build scripts.
|
||||||
@@ -324,6 +324,14 @@ abstract class GradleImportingTestCase : ExternalSystemImportingTestCase() {
|
|||||||
return File(baseDir, getTestName(true).substringBefore("_"))
|
return File(baseDir, getTestName(true).substringBefore("_"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected fun configureKotlinVersionAndProperties(text: String, properties: Map<String, String>? = null): String {
|
||||||
|
var result = text
|
||||||
|
(properties ?: mapOf("kotlin_plugin_version" to LATEST_STABLE_GRADLE_PLUGIN_VERSION)).forEach { (key, value) ->
|
||||||
|
result = result.replace("{{${key}}}", value)
|
||||||
|
}
|
||||||
|
return result
|
||||||
|
}
|
||||||
|
|
||||||
protected open fun configureByFiles(properties: Map<String, String>? = null): List<VirtualFile> {
|
protected open fun configureByFiles(properties: Map<String, String>? = null): List<VirtualFile> {
|
||||||
val rootDir = testDataDirectory()
|
val rootDir = testDataDirectory()
|
||||||
assert(rootDir.exists()) { "Directory ${rootDir.path} doesn't exist" }
|
assert(rootDir.exists()) { "Directory ${rootDir.path} doesn't exist" }
|
||||||
@@ -333,10 +341,7 @@ abstract class GradleImportingTestCase : ExternalSystemImportingTestCase() {
|
|||||||
it.isDirectory -> null
|
it.isDirectory -> null
|
||||||
|
|
||||||
!it.name.endsWith(SUFFIX) -> {
|
!it.name.endsWith(SUFFIX) -> {
|
||||||
var text = FileUtil.loadFile(it, /* convertLineSeparators = */ true)
|
val text = configureKotlinVersionAndProperties(FileUtil.loadFile(it, /* convertLineSeparators = */ true), properties)
|
||||||
(properties ?: mapOf("kotlin_plugin_version" to LATEST_STABLE_GRADLE_PLUGIN_VERSION)).forEach { key, value ->
|
|
||||||
text = text.replace("{{${key}}}", value)
|
|
||||||
}
|
|
||||||
val virtualFile = createProjectSubFile(it.path.substringAfter(rootDir.path + File.separator), text)
|
val virtualFile = createProjectSubFile(it.path.substringAfter(rootDir.path + File.separator), text)
|
||||||
|
|
||||||
// Real file with expected testdata allows to throw nicer exceptions in
|
// Real file with expected testdata allows to throw nicer exceptions in
|
||||||
@@ -367,13 +372,14 @@ abstract class GradleImportingTestCase : ExternalSystemImportingTestCase() {
|
|||||||
}
|
}
|
||||||
.forEach {
|
.forEach {
|
||||||
if (it.name == GradleConstants.SETTINGS_FILE_NAME && !File(testDataDirectory(), it.name + SUFFIX).exists()) return@forEach
|
if (it.name == GradleConstants.SETTINGS_FILE_NAME && !File(testDataDirectory(), it.name + SUFFIX).exists()) return@forEach
|
||||||
val actualText = LoadTextUtil.loadText(it).toString()
|
val actualText = configureKotlinVersionAndProperties(LoadTextUtil.loadText(it).toString())
|
||||||
val expectedFileName = if (File(testDataDirectory(), it.name + ".$gradleVersion" + SUFFIX).exists()) {
|
val expectedFileName = if (File(testDataDirectory(), it.name + ".$gradleVersion" + SUFFIX).exists()) {
|
||||||
it.name + ".$gradleVersion" + SUFFIX
|
it.name + ".$gradleVersion" + SUFFIX
|
||||||
} else {
|
} else {
|
||||||
it.name + SUFFIX
|
it.name + SUFFIX
|
||||||
}
|
}
|
||||||
KotlinTestUtils.assertEqualsToFile(File(testDataDirectory(), expectedFileName), actualText)
|
KotlinTestUtils.assertEqualsToFile(File(testDataDirectory(), expectedFileName), actualText)
|
||||||
|
{ s -> configureKotlinVersionAndProperties(s) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -71,7 +71,7 @@ class GradleInspectionTest : GradleImportingTestCase() {
|
|||||||
val problems = getInspectionResultFromTestDataProject()
|
val problems = getInspectionResultFromTestDataProject()
|
||||||
|
|
||||||
Assert.assertEquals(1, problems.size)
|
Assert.assertEquals(1, problems.size)
|
||||||
Assert.assertEquals("Plugin version (1.3.10) is not the same as library version (1.3.30)", problems.single())
|
Assert.assertEquals("Plugin version ($LATEST_STABLE_GRADLE_PLUGIN_VERSION) is not the same as library version (1.3.30)", problems.single())
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -82,7 +82,7 @@ class GradleInspectionTest : GradleImportingTestCase() {
|
|||||||
|
|
||||||
Assert.assertEquals(1, problems.size)
|
Assert.assertEquals(1, problems.size)
|
||||||
Assert.assertEquals(
|
Assert.assertEquals(
|
||||||
"Kotlin version that is used for building with Gradle (1.3.0) differs from the one bundled into the IDE plugin (\$PLUGIN_VERSION)",
|
"Kotlin version that is used for building with Gradle ($LATEST_STABLE_GRADLE_PLUGIN_VERSION) differs from the one bundled into the IDE plugin (\$PLUGIN_VERSION)",
|
||||||
problems.single()
|
problems.single()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
+16
-12
@@ -24,7 +24,7 @@ import java.util.concurrent.TimeoutException
|
|||||||
|
|
||||||
class GradleMigrateTest : GradleImportingTestCase() {
|
class GradleMigrateTest : GradleImportingTestCase() {
|
||||||
@Test
|
@Test
|
||||||
@TargetVersions("4.4+")
|
@TargetVersions("5.3+")
|
||||||
fun testMigrateStdlib() {
|
fun testMigrateStdlib() {
|
||||||
val migrateComponentState = doMigrationTest(
|
val migrateComponentState = doMigrationTest(
|
||||||
beforeText = """
|
beforeText = """
|
||||||
@@ -32,35 +32,39 @@ class GradleMigrateTest : GradleImportingTestCase() {
|
|||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven{ url 'https://dl.bintray.com/kotlin/kotlin-dev'}
|
||||||
|
maven{ url 'http://dl.bintray.com/kotlin/kotlin-eap' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.40"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.40"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib:1.2.40"
|
compile "org.jetbrains.kotlin:kotlin-stdlib:1.3.40"
|
||||||
}
|
}
|
||||||
""",
|
""",
|
||||||
|
//ToDo: Change 1.4-M3 to 1.4.0 version after release
|
||||||
afterText =
|
afterText =
|
||||||
"""
|
"""
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven{ url 'https://dl.bintray.com/kotlin/kotlin-dev'}
|
||||||
|
maven{ url 'http://dl.bintray.com/kotlin/kotlin-eap'}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4-M3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib:1.3.50"
|
compile "org.jetbrains.kotlin:kotlin-stdlib:1.4-M3"
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
@@ -69,12 +73,12 @@ class GradleMigrateTest : GradleImportingTestCase() {
|
|||||||
|
|
||||||
Assert.assertEquals(
|
Assert.assertEquals(
|
||||||
MigrationInfo.create(
|
MigrationInfo.create(
|
||||||
oldStdlibVersion = "1.2.40",
|
oldStdlibVersion = "1.3.40",
|
||||||
oldApiVersion = ApiVersion.KOTLIN_1_2,
|
oldApiVersion = ApiVersion.KOTLIN_1_3,
|
||||||
oldLanguageVersion = LanguageVersion.KOTLIN_1_2,
|
oldLanguageVersion = LanguageVersion.KOTLIN_1_3,
|
||||||
newStdlibVersion = "1.3.50",
|
newStdlibVersion = "1.4-M3",
|
||||||
newApiVersion = ApiVersion.KOTLIN_1_3,
|
newApiVersion = ApiVersion.KOTLIN_1_4,
|
||||||
newLanguageVersion = LanguageVersion.KOTLIN_1_3
|
newLanguageVersion = LanguageVersion.KOTLIN_1_4
|
||||||
),
|
),
|
||||||
migrateComponentState?.migrationInfo
|
migrateComponentState?.migrationInfo
|
||||||
)
|
)
|
||||||
|
|||||||
+7
-4
@@ -25,8 +25,7 @@ import kotlin.reflect.KMutableProperty0
|
|||||||
class GradleQuickFixTest : GradleImportingTestCase() {
|
class GradleQuickFixTest : GradleImportingTestCase() {
|
||||||
private lateinit var codeInsightTestFixture: CodeInsightTestFixture
|
private lateinit var codeInsightTestFixture: CodeInsightTestFixture
|
||||||
|
|
||||||
private fun getTestDataPath() =
|
override fun testDataDirName() = "fixes"
|
||||||
PluginTestCaseBase.getTestDataPathBase() + "/gradle/fixes/" + getTestName(true).substringBefore('_')
|
|
||||||
|
|
||||||
override fun setUpFixtures() {
|
override fun setUpFixtures() {
|
||||||
myTestFixture = IdeaTestFixtureFactory.getFixtureFactory().createFixtureBuilder(getName()).fixture
|
myTestFixture = IdeaTestFixtureFactory.getFixtureFactory().createFixtureBuilder(getName()).fixture
|
||||||
@@ -47,7 +46,7 @@ class GradleQuickFixTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun doGradleQuickFixTest(localInspectionTool: LocalInspectionTool) {
|
private fun doGradleQuickFixTest(localInspectionTool: LocalInspectionTool) {
|
||||||
val buildGradleVFile = createProjectSubFile("build.gradle", File(getTestDataPath(), "build.gradle").readText())
|
val buildGradleVFile = configureByFiles().first { it.name == "build.gradle" }
|
||||||
importProject()
|
importProject()
|
||||||
|
|
||||||
applyInspectionFixes(localInspectionTool, buildGradleVFile)
|
applyInspectionFixes(localInspectionTool, buildGradleVFile)
|
||||||
@@ -78,6 +77,10 @@ class GradleQuickFixTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun checkResult(file: VirtualFile) {
|
private fun checkResult(file: VirtualFile) {
|
||||||
KotlinTestUtils.assertEqualsToFile(File(getTestDataPath(), "build.gradle.after"), LoadTextUtil.loadText(file).toString())
|
KotlinTestUtils.assertEqualsToFile(
|
||||||
|
File(testDataDirectory(), "build.gradle.after"),
|
||||||
|
configureKotlinVersionAndProperties(LoadTextUtil.loadText(file).toString())
|
||||||
|
)
|
||||||
|
{ s -> configureKotlinVersionAndProperties(s) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+6
@@ -25,6 +25,7 @@ import com.intellij.testFramework.fixtures.CodeInsightTestFixture
|
|||||||
import com.intellij.testFramework.fixtures.IdeaTestFixtureFactory
|
import com.intellij.testFramework.fixtures.IdeaTestFixtureFactory
|
||||||
import com.intellij.testFramework.runInEdtAndWait
|
import com.intellij.testFramework.runInEdtAndWait
|
||||||
import org.jetbrains.kotlin.idea.test.PluginTestCaseBase
|
import org.jetbrains.kotlin.idea.test.PluginTestCaseBase
|
||||||
|
import org.jetbrains.plugins.gradle.tooling.annotation.TargetVersions
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import kotlin.reflect.KMutableProperty0
|
import kotlin.reflect.KMutableProperty0
|
||||||
@@ -48,26 +49,31 @@ class GradleUpdateConfigurationQuickFixTest : GradleImportingTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testUpdateLanguageVersion() {
|
fun testUpdateLanguageVersion() {
|
||||||
doTest("Set module language version to 1.1")
|
doTest("Set module language version to 1.1")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testUpdateApiVersion() {
|
fun testUpdateApiVersion() {
|
||||||
doTest("Set module API version to 1.1")
|
doTest("Set module API version to 1.1")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testUpdateLanguageAndApiVersion() {
|
fun testUpdateLanguageAndApiVersion() {
|
||||||
doTest("Set module language version to 1.1")
|
doTest("Set module language version to 1.1")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testEnableCoroutines() {
|
fun testEnableCoroutines() {
|
||||||
doTest("Enable coroutine support in the current module")
|
doTest("Enable coroutine support in the current module")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TargetVersions("4.7 <=> 6.0")
|
||||||
fun testAddKotlinReflect() {
|
fun testAddKotlinReflect() {
|
||||||
doTest("Add 'kotlin-reflect.jar' to the classpath")
|
doTest("Add 'kotlin-reflect.jar' to the classpath")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib-{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
@@ -4,14 +4,14 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib-{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
experimental {
|
experimental {
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
}
|
}
|
||||||
@@ -4,14 +4,14 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
}
|
}
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
}
|
}
|
||||||
@@ -4,13 +4,13 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
implementation "org.jetbrains.kotlin:kotlin-reflect:1.0.0"
|
implementation "org.jetbrains.kotlin:kotlin-reflect:1.0.0"
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testCompile("junit:junit:4.12")
|
testCompile("junit:junit:4.12")
|
||||||
compile(kotlinModule("stdlib-jre8"))
|
compile(kotlin("stdlib-jre8"))
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testCompile("junit:junit:4.12")
|
testCompile("junit:junit:4.12")
|
||||||
compile(kotlinModule("stdlib-jre8"))
|
compile(kotlin("stdlib-jre8"))
|
||||||
implementation(kotlin("reflect"))
|
implementation(kotlin("reflect"))
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testCompile("junit:junit:4.12")
|
testCompile("junit:junit:4.12")
|
||||||
compile(kotlinModule("stdlib-jre8"))
|
compile(kotlin("stdlib-jre8"))
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testCompile("junit:junit:4.12")
|
testCompile("junit:junit:4.12")
|
||||||
compile(kotlinModule("stdlib-jre8"))
|
compile(kotlin("stdlib-jre8"))
|
||||||
implementation("org.a.b:lib:1.0.0")
|
implementation("org.a.b:lib:1.0.0")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(kotlinModule("stdlib-jre8"))
|
compile(kotlin("stdlib-jre8"))
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(kotlinModule("stdlib-jre8"))
|
compile(kotlin("stdlib-jre8"))
|
||||||
testImplementation("junit:junit:4.12")
|
testImplementation("junit:junit:4.12")
|
||||||
testImplementation(kotlin("test"))
|
testImplementation(kotlin("test"))
|
||||||
}
|
}
|
||||||
@@ -4,14 +4,14 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
experimental {
|
experimental {
|
||||||
|
|||||||
+2
-2
@@ -4,14 +4,14 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
experimental {
|
experimental {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
import org.jetbrains.kotlin.gradle.dsl.Coroutines
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
@@ -19,6 +19,6 @@ dependencies {
|
|||||||
}
|
}
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs = ["-XXLanguage:+InlineClasses"]
|
freeCompilerArgs = ["-Xinline-classes"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.70"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
val compileKotlin: KotlinCompile by tasks
|
val compileKotlin: KotlinCompile by tasks
|
||||||
compileKotlin.kotlinOptions {
|
compileKotlin.kotlinOptions {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.70"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
val compileKotlin: KotlinCompile by tasks
|
val compileKotlin: KotlinCompile by tasks
|
||||||
compileKotlin.kotlinOptions {
|
compileKotlin.kotlinOptions {
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
}
|
}
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-1.1.0"
|
compile "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
}
|
}
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
val compileKotlin: KotlinCompile by tasks
|
val compileKotlin: KotlinCompile by tasks
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.50"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
val compileKotlin: KotlinCompile by tasks
|
val compileKotlin: KotlinCompile by tasks
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
plugins {
|
||||||
|
id 'org.jetbrains.kotlin.jvm' version '1.0.6'
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
kotlin("jvm") version "1.1.2"
|
||||||
|
}
|
||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
implementation(kotlin("stdlib-jre8"))
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
val compileKotlin: KotlinCompile by tasks
|
||||||
|
compileKotlin.kotlinOptions {
|
||||||
|
jvmTarget = "1.8"
|
||||||
|
}
|
||||||
|
val compileTestKotlin: KotlinCompile by tasks
|
||||||
|
compileTestKotlin.kotlinOptions {
|
||||||
|
jvmTarget = "1.8"
|
||||||
|
}
|
||||||
Vendored
+22
@@ -0,0 +1,22 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
kotlin("jvm") version "1.2.60-dev-286"
|
||||||
|
}
|
||||||
|
group = "testgroup"
|
||||||
|
version = "1.0-SNAPSHOT"
|
||||||
|
dependencies {
|
||||||
|
implementation(kotlin("stdlib-jdk8"))
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
maven("https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_KotlinPublic_Compiler),number:1.2.60-dev-286,branch:(default:any)/artifacts/content/maven")
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
val compileKotlin: KotlinCompile by tasks
|
||||||
|
compileKotlin.kotlinOptions {
|
||||||
|
jvmTarget = "1.8"
|
||||||
|
}
|
||||||
|
val compileTestKotlin: KotlinCompile by tasks
|
||||||
|
compileTestKotlin.kotlinOptions {
|
||||||
|
jvmTarget = "1.8"
|
||||||
|
}
|
||||||
+18
@@ -0,0 +1,18 @@
|
|||||||
|
plugins {
|
||||||
|
id 'java'
|
||||||
|
id 'org.jetbrains.kotlin.jvm' version '1.0.6'
|
||||||
|
}
|
||||||
|
|
||||||
|
group 'testgroup'
|
||||||
|
version '1.0-SNAPSHOT'
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib"
|
||||||
|
}
|
||||||
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.70"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.70"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
val compileKotlin: KotlinCompile by tasks
|
val compileKotlin: KotlinCompile by tasks
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
@@ -19,6 +19,6 @@ dependencies {
|
|||||||
}
|
}
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs = ["-XXLanguage:+InlineClasses"]
|
freeCompilerArgs = ["-Xinline-classes"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.70"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.2.70"
|
kotlin("jvm") version "{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
val compileKotlin: KotlinCompile by tasks
|
val compileKotlin: KotlinCompile by tasks
|
||||||
compileKotlin.kotlinOptions {
|
compileKotlin.kotlinOptions {
|
||||||
freeCompilerArgs = listOf("-XXLanguage:+InlineClasses")
|
freeCompilerArgs = listOf("-Xinline-classes")
|
||||||
}
|
}
|
||||||
+1
-1
@@ -4,7 +4,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0-rc-190"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin-multiplatform"
|
apply plugin: "kotlin-multiplatform"
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0-rc-190"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin-multiplatform"
|
apply plugin: "kotlin-multiplatform"
|
||||||
|
|||||||
Vendored
+1
-1
@@ -4,7 +4,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0-rc-190"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin-multiplatform"
|
apply plugin: "kotlin-multiplatform"
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0-rc-190"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin-multiplatform"
|
apply plugin: "kotlin-multiplatform"
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
|
|||||||
Vendored
+2
-2
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
@@ -19,7 +19,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs = ["-XXLanguage:+SamConversionForKotlinFunctions", "-XXLanguage:+InlineClasses"]
|
freeCompilerArgs = ["-XXLanguage:+SamConversionForKotlinFunctions", "-Xinline-classes"]
|
||||||
// Free compiler arguments
|
// Free compiler arguments
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'org.jetbrains.kotlin.jvm' version '1.2.50'
|
id 'org.jetbrains.kotlin.jvm' version '{{kotlin_plugin_version}}'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
test=1.3.0
|
test={{kotlin_plugin_version}}
|
||||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
kotlin=1.3.10
|
kotlin={{kotlin_plugin_version}}
|
||||||
lib_version=1.3.30
|
lib_version=1.3.30
|
||||||
+2
-2
@@ -9,12 +9,12 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.40")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin-platform-common'
|
apply plugin: 'kotlin-platform-common'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-common:1.2.40"
|
compile "org.jetbrains.kotlin:kotlin-stdlib-common"
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -9,12 +9,12 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.40")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.40"
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-3
@@ -11,9 +11,7 @@ buildscript {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
{{kotlin_plugin_repositories}}
|
||||||
jcenter()
|
|
||||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+5
@@ -6,6 +6,11 @@ buildscript {
|
|||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
{{kotlin_plugin_repositories}}
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'kotlin-multiplatform'
|
apply plugin: 'kotlin-multiplatform'
|
||||||
|
|
||||||
group 'com.example'
|
group 'com.example'
|
||||||
|
|||||||
+1
-3
@@ -1,6 +1,4 @@
|
|||||||
|
|
||||||
include('mpp-base')
|
include('mpp-base')
|
||||||
include('mpp')
|
include('mpp')
|
||||||
include('jvm')
|
include('jvm')
|
||||||
|
|
||||||
enableFeaturePreview('STABLE_PUBLISHING')
|
|
||||||
@@ -7,17 +7,12 @@ org.jetbrains.kotlin.checkers.JavaAgainstKotlinSourceCheckerWithoutUltraLightTes
|
|||||||
org.jetbrains.kotlin.checkers.JavaAgainstKotlinSourceCheckerWithoutUltraLightTestGenerated.JavaAgainstKotlin.testUsingReadOnlyInterfaces,,, FLAKY
|
org.jetbrains.kotlin.checkers.JavaAgainstKotlinSourceCheckerWithoutUltraLightTestGenerated.JavaAgainstKotlin.testUsingReadOnlyInterfaces,,, FLAKY
|
||||||
"org.jetbrains.kotlin.gradle.NewMultiplatformProjectImportingTest.testSingleAndroidTarget[1: Gradle-4.9, KotlinGradlePlugin-latest stable]", Stable on windows,, FLAKY
|
"org.jetbrains.kotlin.gradle.NewMultiplatformProjectImportingTest.testSingleAndroidTarget[1: Gradle-4.9, KotlinGradlePlugin-latest stable]", Stable on windows,, FLAKY
|
||||||
"org.jetbrains.kotlin.gradle.NewMultiplatformProjectImportingTest.testSingleAndroidTarget[4: Gradle-5.6.4, KotlinGradlePlugin-latest stable]", Stable on windows,, FLAKY
|
"org.jetbrains.kotlin.gradle.NewMultiplatformProjectImportingTest.testSingleAndroidTarget[4: Gradle-5.6.4, KotlinGradlePlugin-latest stable]", Stable on windows,, FLAKY
|
||||||
|
"org.jetbrains.kotlin.gradle.NewMultiplatformProjectImportingTest.testSingleAndroidTarget[7: Gradle-6.5.1, KotlinGradlePlugin-latest stable]", Stable on windows,, FLAKY
|
||||||
|
"org.jetbrains.kotlin.gradle.NewMultiplatformProjectImportingTest.testSingleAndroidTarget[8: Gradle-6.5.1, KotlinGradlePlugin-master]", Stable on windows,, FLAKY
|
||||||
org.jetbrains.kotlin.idea.caches.resolve.MultiPlatformHighlightingTestGenerated.testJvmKotlinReferencesCommonKotlinThroughJavaDifferentJvmImpls, Always red,,
|
org.jetbrains.kotlin.idea.caches.resolve.MultiPlatformHighlightingTestGenerated.testJvmKotlinReferencesCommonKotlinThroughJavaDifferentJvmImpls, Always red,,
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleBuildFileHighlightingTest.testKtsInJsProject[1: with Gradle-5.6.4], ERROR: Diagnostic's list should be empty,,
|
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleBuildFileHighlightingTest.testKtsInJsProject[1: with Gradle-5.6.4], ERROR: Diagnostic's list should be empty,,
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleBuildFileHighlightingTest.testKtsInJsProject[0: with Gradle-4.9], ERROR: Diagnostic's list should be empty,,
|
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleBuildFileHighlightingTest.testKtsInJsProject[0: with Gradle-4.9], ERROR: Diagnostic's list should be empty,,
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleBuildFileHighlightingTest.testKtsInJsProject, ERROR: Diagnostic's list should be empty,,
|
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleBuildFileHighlightingTest.testKtsInJsProject, ERROR: Diagnostic's list should be empty,,
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testAddLibraryGSK[1: with Gradle-5.6.4], unresolved kotlinModule,,
|
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testAddTestLibraryGSK[1: with Gradle-5.6.4], unresolved kotlinModule,,
|
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testConfigure10[1: with Gradle-5.6.4], absent test data,,
|
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testConfigureGSK[1: with Gradle-5.6.4], absent test data,,
|
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testConfigureGradleKtsKotlinDevVersion[1: with Gradle-5.6.4], absent test data,,
|
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testConfigureKotlinDevVersion[1: with Gradle-5.6.4], absent test data,,
|
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testConfigureKotlinWithPluginsBlock[1: with Gradle-5.6.4], absent test data,,
|
|
||||||
org.jetbrains.kotlin.idea.configuration.ConfigureKotlinInTempDirTest.testKotlincExistsNoSettingsLatestRuntimeNoVersionAutoAdvance,,, FLAKY
|
org.jetbrains.kotlin.idea.configuration.ConfigureKotlinInTempDirTest.testKotlincExistsNoSettingsLatestRuntimeNoVersionAutoAdvance,,, FLAKY
|
||||||
org.jetbrains.kotlin.idea.configuration.ConfigureKotlinInTempDirTest.testNoKotlincExistsNoSettingsRuntime10,,, FLAKY
|
org.jetbrains.kotlin.idea.configuration.ConfigureKotlinInTempDirTest.testNoKotlincExistsNoSettingsRuntime10,,, FLAKY
|
||||||
org.jetbrains.kotlin.idea.configuration.ConfigureKotlinTest.testJava9WithModuleInfo, ERROR: Require directive for kotlin.stdlib is expected,,
|
org.jetbrains.kotlin.idea.configuration.ConfigureKotlinTest.testJava9WithModuleInfo, ERROR: Require directive for kotlin.stdlib is expected,,
|
||||||
|
|||||||
|
@@ -17,5 +17,4 @@ org.jetbrains.kotlin.idea.debugger.test.KotlinSteppingTestGenerated.StepOver.tes
|
|||||||
org.jetbrains.kotlin.idea.debugger.test.KotlinSteppingTestGenerated.StepOverForce.testSofSuspendableCallInFun, Super flaky on Android Studio (can be reproduced locally),, FLAKY
|
org.jetbrains.kotlin.idea.debugger.test.KotlinSteppingTestGenerated.StepOverForce.testSofSuspendableCallInFun, Super flaky on Android Studio (can be reproduced locally),, FLAKY
|
||||||
org.jetbrains.kotlin.idea.quickfix.QuickFixMultiFileTestGenerated.AutoImports.testAmbiguousNamePreferFromJdk, Class from JDK is not prioritized,,
|
org.jetbrains.kotlin.idea.quickfix.QuickFixMultiFileTestGenerated.AutoImports.testAmbiguousNamePreferFromJdk, Class from JDK is not prioritized,,
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleKtsImportTest.testError[0: with Gradle-6.0.1], KT-37864,,
|
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleKtsImportTest.testError[0: with Gradle-6.0.1], KT-37864,,
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testAddNonKotlinLibraryGSK[1: with Gradle-5.6.4], unresolved kotlinModule,,
|
|
||||||
org.jetbrains.kotlin.idea.debugger.test.KotlinSteppingTestGenerated.Custom.testFunctionBreakpointInStdlib, Unprocessed,,
|
org.jetbrains.kotlin.idea.debugger.test.KotlinSteppingTestGenerated.Custom.testFunctionBreakpointInStdlib, Unprocessed,,
|
||||||
@@ -114,5 +114,4 @@ org.jetbrains.kotlin.idea.codeInsight.gradle.GradleKtsImportTest.testError[0: wi
|
|||||||
org.jetbrains.kotlin.idea.codeInsight.surroundWith.SurroundWithTestGenerated.If.MoveDeclarationsOut.Var.testVarWithTypeWoInitializer, Unprocessed,, FLAKY
|
org.jetbrains.kotlin.idea.codeInsight.surroundWith.SurroundWithTestGenerated.If.MoveDeclarationsOut.Var.testVarWithTypeWoInitializer, Unprocessed,, FLAKY
|
||||||
org.jetbrains.kotlin.idea.refactoring.move.MoveTestGenerated.testKotlin_moveTopLevelDeclarations_moveFunctionToPackage_MoveFunctionToPackage, fail on TeamCity but works well locally,, FLAKY
|
org.jetbrains.kotlin.idea.refactoring.move.MoveTestGenerated.testKotlin_moveTopLevelDeclarations_moveFunctionToPackage_MoveFunctionToPackage, fail on TeamCity but works well locally,, FLAKY
|
||||||
org.jetbrains.kotlin.idea.intentions.IntentionTestGenerated.ConvertSealedClassToEnum.testInstancesAndMembers, Enum reorder,, FLAKY
|
org.jetbrains.kotlin.idea.intentions.IntentionTestGenerated.ConvertSealedClassToEnum.testInstancesAndMembers, Enum reorder,, FLAKY
|
||||||
org.jetbrains.kotlin.idea.codeInsight.gradle.GradleConfiguratorTest.testAddNonKotlinLibraryGSK[1: with Gradle-5.6.4], unresolved kotlinModule,,
|
|
||||||
org.jetbrains.kotlin.idea.debugger.test.KotlinSteppingTestGenerated.Custom.testFunctionBreakpointInStdlib, Unprocessed,,
|
org.jetbrains.kotlin.idea.debugger.test.KotlinSteppingTestGenerated.Custom.testFunctionBreakpointInStdlib, Unprocessed,,
|
||||||
Reference in New Issue
Block a user