File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ fun getOverriddenKotlinLanguageVersion(project: Project): KotlinVersion? {
6464 *
6565 * @return an url for a kotlin compiler repository parametrized from command line nor gradle.properties, empty string otherwise
6666 */
67- fun getKotlinDevRepositoryUrl (project : Project ): URI ? {
67+ fun getKotlinDevRepositoryUrl (project : Project ): String ? {
6868 val url: String? = project.providers.gradleProperty(" kotlin_repo_url" ).orNull
6969 if (url != null ) {
7070 LOGGER .info(""" Configured Kotlin Compiler repository url: '$url ' for project ${project.name} """ )
71- return URI .create( url)
71+ return url
7272 }
7373 return null
7474}
@@ -78,9 +78,7 @@ fun getKotlinDevRepositoryUrl(project: Project): URI? {
7878 */
7979fun addDevRepositoryIfEnabled (rh : RepositoryHandler , project : Project ) {
8080 val devRepoUrl = getKotlinDevRepositoryUrl(project) ? : return
81- rh.maven {
82- url = devRepoUrl
83- }
81+ rh.maven(devRepoUrl)
8482}
8583
8684/* *
You can’t perform that action at this time.
0 commit comments