package Ġcom . ap ol log raph ql . apollo 3 . gradle . api Ċ Ċ import Ġcom . android . build . gradle . App Extension Ċ import Ġcom . android . build . gradle . Base Extension Ċ import Ġcom . android . build . gradle . Library Extension Ċ import Ġcom . android . build . gradle . Tested Extension Ċ import Ġcom . android . build . gradle . api . Application Variant Ċ import Ġcom . android . build . gradle . api . Base Variant Ċ import Ġcom . android . build . gradle . api . Library Variant Ċ import Ġcom . android . build . gradle . api . Test Variant Ċ import Ġcom . android . build . gradle . api . UnitTest Variant Ċ import Ġorg . gradle . api . Domain Object Set Ċ import Ġorg . gradle . api . Project Ċ import Ġorg . gradle . api . internal . Default Domain Object Set Ċ import Ġorg . gradle . api . plugins . Java Plugin Convention Ċ import Ġorg . gradle . api . plugins . Java Plugin Extension Ċ import Ġorg . jetbrains . kotlin . gradle . dsl . Kotlin Multi platform Extension Ċ import Ġorg . jetbrains . kotlin . gradle . dsl . Kotlin Project Extension Ċ Ċ val ĠProject . kotlin Multi platform Extension ĊĠ Ġget () Ġ= Ġextensions . find ByName (" kotlin ") Ġas ? ĠKotlin Multi platform Extension Ċ Ċ val ĠProject . kotlin Project Extension ĊĠ Ġget () Ġ= Ġextensions . find ByName (" kotlin ") Ġas ? ĠKotlin Project Extension Ċ Ċ val ĠProject . java Convention OrThrow ĊĠ Ġget () Ġ= Ġconvention . get Plugin ( Java Plugin Convention :: class . java ) Ċ Ċ val ĠProject . java Convention ĊĠ Ġget () Ġ= Ġtry Ġ{ ĊĠĠĠ Ġjava Convention OrThrow ĊĠ Ġ} Ġcatch Ġ( e : ĠException ) Ġ{ ĊĠĠĠ Ġnull ĊĠ Ġ} Ċ Ċ val ĠProject . android Extension ĊĠ Ġget () Ġ= Ġextensions . find ByName (" android ") Ġas ? ĠBase Extension Ċ Ċ val ĠProject . kotlin Project Extension OrThrow ĊĠ Ġget () Ġ= Ġkotlin Project Extension ĊĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalStateException (" A pol lo GraphQL : Ġno Ġ' kotlin ' Ġextension Ġfound . ĠDid Ġyou Ġapply Ġthe ĠKotlin Ġj vm Ġplugin ?") Ċ Ċ val ĠProject . android Extension OrThrow ĊĠ Ġget () Ġ= Ġandroid Extension Ġ?: Ġthrow ĠIllegalStateException (" A pol lo GraphQL : Ġno Ġ' android ' Ġextension Ġfound . ĠDid Ġyou Ġapply Ġthe ĠAndroid Ġplugin ?") Ċ Ċ val ĠProject . is Kotlin Multi platform Ġget () Ġ= Ġplugin Manager . has Plugin (" org . jetbrains . kotlin . multi platform ") Ċ Ċ val ĠProject . library Variants : ĠDomain Object Set < Library Variant >? ĊĠ Ġget () Ġ{ ĊĠĠĠ Ġreturn Ġ( android Extension OrThrow Ġas ? ĠLibrary Extension ) ĊĠĠĠĠĠĠĠ Ġ? . library Variants ĊĠ Ġ} Ċ Ċ val ĠProject . application Variants : ĠDomain Object Set < Application Variant >? ĊĠ Ġget () Ġ{ ĊĠĠĠ Ġreturn Ġ( android Extension OrThrow Ġas ? ĠApp Extension ) ĊĠĠĠĠĠĠĠ Ġ? . application Variants ĊĠ Ġ} Ċ Ċ val ĠProject . unit Test Variants : ĠDomain Object Set < UnitTest Variant >? ĊĠ Ġget () Ġ{ ĊĠĠĠ Ġreturn Ġ( android Extension OrThrow Ġas ? ĠTested Extension ) ĊĠĠĠĠĠĠĠ Ġ? . unit Test Variants ĊĠ Ġ} Ċ Ċ val ĠProject . test Variants : ĠDomain Object Set < Test Variant >? ĊĠ Ġget () Ġ{ ĊĠĠĠ Ġreturn Ġ( android Extension OrThrow Ġas ? ĠTested Extension ) ĊĠĠĠĠĠĠĠ Ġ? . test Variants ĊĠ Ġ} Ċ