[gradle][g/c] remove unwanted braces
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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}'")
|
||||
|
||||
Reference in New Issue
Block a user