[gradle][g/c] remove unwanted braces

This commit is contained in:
Vasily Levchenko
2018-06-07 17:56:14 +03:00
parent b92fbe7f42
commit d39da8ade4
2 changed files with 2 additions and 2 deletions
@@ -376,7 +376,7 @@ class KonanPlugin @Inject constructor(private val registry: ToolingModelBuilderR
for (v in konanSoftwareComponent.variants) {
publishing.publications.create(v.name, MavenPublication::class.java) {
val coordinates = (v as NativeVariantIdentity).coordinates
project.logger.info("variant with coordiants(${coordinates}) and module: ${coordinates.module}")
project.logger.info("variant with coordinates($coordinates) and module: ${coordinates.module}")
it.artifactId = coordinates.module.name
it.groupId = coordinates.group
it.version = coordinates.version
@@ -37,7 +37,7 @@ open class KotlinNativePlatformPlugin: KotlinPlatformImplementationPluginBase("n
.forEach { task: KonanCompileTask ->
task.commonSourceSets.forEach { commonSourceSetName ->
val commonSourceSet = commonProject.sourceSets.findByName(commonSourceSetName) ?:
throw GradleException("Cannot find a source set with name '${commonSourceSetName}' " +
throw GradleException("Cannot find a source set with name '$commonSourceSetName' " +
"in a common project '${commonProject.path}' " +
"for an artifact '${task.artifactName}' " +
"in a platform project '${platformProject.path}'")