Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

dagger kapt dependency and plugin

#Plugin
apply plugin: 'kotlin-kapt'

#dependencies
implementation 'com.google.dagger:dagger:2.11'
kapt 'com.google.dagger:dagger-compiler:2.11'

#Plugin for android
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

#dependencies
provided 'javax.annotation:jsr250-api:1.0'
 
PREVIOUS NEXT
Tagged: #dagger #kapt #dependency #plugin
ADD COMMENT
Topic
Name
8+4 =