Skip to content

Commit

Permalink
Test kapt
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Jan 6, 2022
1 parent f4a112a commit 4610529
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ plugins {
id("com.facebook.react")
id("maven-publish")
id("de.undercouch.download")
id("kotlin-android")
id("org.jetbrains.kotlin.kapt")
}

import com.facebook.react.tasks.internal.*
Expand Down Expand Up @@ -355,7 +357,7 @@ android {
}

dependencies {
annotationProcessor("com.facebook.react:annotations-compiler")
kapt("com.facebook.react:annotations-compiler")
api("com.facebook.react:annotations")
api("com.facebook.infer.annotation:infer-annotation:0.18.0")
api("com.facebook.yoga:proguard-annotations:1.19.0")
Expand Down
4 changes: 3 additions & 1 deletion packages/rn-tester/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
plugins {
id("com.android.application")
id("com.facebook.react")
id("kotlin-android")
id("org.jetbrains.kotlin.kapt")
}

/**
Expand Down Expand Up @@ -225,7 +227,7 @@ dependencies {

// Build React Native from source
implementation project(':ReactAndroid')
annotationProcessor "com.facebook.react:annotations-compiler"
kapt "com.facebook.react:annotations-compiler"

implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"

Expand Down

0 comments on commit 4610529

Please sign in to comment.