Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Samples: Could not create an instance of type org.jetbrains.kotlin.gradle.plugin.KotlinTarget #2277

Closed
@ddolovov

Description

Steps to reproduce:

  1. Download fresh K/N samples on your workstation.
  2. cd into a sub-project that's not supported on your workstation platform (ex: opengl on Linux or Windows).
  3. Run ../gradlew

Expected result: Adequate error message explaining that this project can't be built under current platform.

Actual result:

* What went wrong:
A problem occurred evaluating root project 'opengl'.
> Could not create an instance of type org.jetbrains.kotlin.gradle.plugin.KotlinTarget.
   > Could not find any public constructor for interface org.jetbrains.kotlin.gradle.plugin.KotlinTarget which accepts parameters [java.lang.String].

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions