Removed extra spaces in new MPP project template

#KT-26952  Fixed
This commit is contained in:
Alexander Podkhalyuzin
2018-09-21 12:52:24 +03:00
parent c1013cc198
commit 3142627269
13 changed files with 21 additions and 51 deletions
@@ -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