Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

211
Views
Migration kotlin 1.5.20 to 1.6.10 cause: An exception occurred applying plugin request [id: 'kotlin-android']

Multi-module project, using buildSrc and Kotlin script for build.

Change kotlin version from 1.5.20 to 1.6.0 or 1.6.10 cause:

org.gradle.internal.exceptions.LocationAwareException: Build file '/projectpath/library/build.gradle.kts' line: 1
at Program.execute(Unknown Source)
    at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.eval(Interpreter.kt:506)
    at org.gradle.kotlin.dsl.execution.Interpreter.eval(Interpreter.kt:200)

build.gradle.kts of buildSrc:

repositories {
    // so that external plugins can be resolved in dependencies section
    gradlePluginPortal()
    mavenCentral()
}

plugins {
    `kotlin-dsl`
}

dependencies {
    // We need these dependencies to be able to use customized `org.openapitools.generator.gradle.plugin.tasks.GenerateTask`
    // in `xxx_api_generator.gradle`, e.g. `bootstrap_api_generator.gradle`.
    runtimeOnly("org.openapitools:openapi-generator-gradle-plugin:5.1.1")
    runtimeOnly("com.google.guava:guava:30.1.1-jre")
    runtimeOnly("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.18.0-RC2")
}

Any Ideas?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!