Removed extra spaces in new MPP project template
#KT-26952 Fixed
This commit is contained in:
+2
-2
@@ -98,9 +98,9 @@ fun DependencyScope.toGradleCompileScope(isAndroidModule: Boolean) = when (this)
|
||||
else -> "compile"
|
||||
}
|
||||
|
||||
fun RepositoryDescription.toGroovyRepositorySnippet() = "maven {\n url '$url'\n}"
|
||||
fun RepositoryDescription.toGroovyRepositorySnippet() = "maven { url '$url' }"
|
||||
|
||||
fun RepositoryDescription.toKotlinRepositorySnippet() = "maven {\n setUrl(\"$url\")\n}"
|
||||
fun RepositoryDescription.toKotlinRepositorySnippet() = "maven { setUrl(\"$url\") }"
|
||||
|
||||
fun getRepositoryForVersion(version: String): RepositoryDescription? = when {
|
||||
isSnapshot(version) -> SNAPSHOT_REPOSITORY
|
||||
|
||||
Reference in New Issue
Block a user