Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

490
Vistas
Kotlin Gradle plugin: apiVersion vs languageVersion

Kotlin Gradle plugin contains compileKotlin task which can be configured by apiVersion and languageVersion parameters (doc):

compileKotlin {
    kotlinOptions {
        freeCompilerArgs = ['-Xjsr305=strict']
        jvmTarget = '1.8'
        languageVersion = '1.1'
        apiVersion = '1.1'
    }
}

Both parameters are used for compatibility with older Kotlin versions. Could somebody explain what is the difference between them? And what are use cases using each of them?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

apiVersion: Allow to use declarations only from the specified version of bundled libraries

languageVersion: Provide source compatibility with specified language version

You can see full documentation here: https://kotlinlang.org/docs/reference/using-gradle.html

and this reference: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda