kotlin.language.version property no longer used in maven build

This commit is contained in:
Ilya Gorbunov
2017-04-27 22:34:53 +03:00
parent 3bfc17c2d4
commit 720e6ecdb6
3 changed files with 17 additions and 9 deletions
@@ -1,3 +1,19 @@
/*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package test
import java.net.URL
@@ -55,7 +71,7 @@ fun main(args: Array<String>) {
val incorrectVersionValues = versionValues.filterValues { it != KOTLIN_VERSION_VALUE }
if (incorrectVersionValues.isNotEmpty()) {
errors.appendln("Manifests at these locations do not have the correct value of the $KOTLIN_VERSION attribute ($KOTLIN_VERSION_VALUE). " +
"Please ensure that kotlin.language.version in libraries/pom.xml corresponds to the value in kotlin.KotlinVersion:")
"Please ensure that kotlin_language_version in libraries/build.gradle corresponds to the value in kotlin.KotlinVersion:")
incorrectVersionValues.entries.joinTo(errors, "\n", transform = ::renderEntry)
errors.appendln()
errors.appendln()