"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/kapt/Kapt3KotlinGradleSubplugin.kt" between
kotlin-1.3.20.tar.gz and kotlin-1.3.21.tar.gz

About: Kotlin is a Java like statically typed programming language for the JVM, Android and the browser. Source code.

Kapt3KotlinGradleSubplugin.kt  (kotlin-1.3.20):Kapt3KotlinGradleSubplugin.kt  (kotlin-1.3.21)
skipping to change at line 222 skipping to change at line 222
kaptVariantData.name kaptVariantData.name
} else { } else {
if (kotlinCompilation == null) error("In non-Android projects, Kotli n compilation should not be null") if (kotlinCompilation == null) error("In non-Android projects, Kotli n compilation should not be null")
handleSourceSet(kotlinCompilation.compilationName) handleSourceSet(kotlinCompilation.compilationName)
kotlinCompilation.compilationName kotlinCompilation.compilationName
} }
val kaptExtension = project.extensions.getByType(KaptExtension::class.ja va) val kaptExtension = project.extensions.getByType(KaptExtension::class.ja va)
val nonEmptyKaptConfigurations = kaptConfigurations.filter { it.dependen
cies.isNotEmpty() }
val context = Kapt3SubpluginContext( val context = Kapt3SubpluginContext(
project, kotlinCompile, javaCompile, project, kotlinCompile, javaCompile,
kaptVariantData, sourceSetName, kotlinCompilation, kaptExtension, ka ptConfigurations kaptVariantData, sourceSetName, kotlinCompilation, kaptExtension, no nEmptyKaptConfigurations
) )
val kaptGenerateStubsTask = context.createKaptGenerateStubsTask() val kaptGenerateStubsTask = context.createKaptGenerateStubsTask()
val kaptTask = context.createKaptKotlinTask(useWorkerApi = project.isUse WorkerApi()) val kaptTask = context.createKaptKotlinTask(useWorkerApi = project.isUse WorkerApi())
kaptGenerateStubsTask.source(*kaptConfigurations.toTypedArray()) kaptGenerateStubsTask.source(*kaptConfigurations.toTypedArray())
kaptGenerateStubsTask.dependsOn(*buildDependencies.toTypedArray()) kaptGenerateStubsTask.dependsOn(*buildDependencies.toTypedArray())
kaptGenerateStubsTask.dependsOn(*kotlinCompile.dependsOn.toTypedArray()) kaptGenerateStubsTask.dependsOn(*kotlinCompile.dependsOn.toTypedArray())
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)