Make generated code visible
This commit is contained in:
committed by
Benoit Marty
parent
722365dc82
commit
160bc2b302
@@ -16,8 +16,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import extension.allLibraries
|
||||
import extension.allFeatures
|
||||
import extension.allLibraries
|
||||
|
||||
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
|
||||
@Suppress("DSL_SCOPE_VIOLATION")
|
||||
@@ -128,6 +128,7 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
// Waiting for https://github.com/google/ksp/issues/37
|
||||
applicationVariants.all {
|
||||
kotlin.sourceSets {
|
||||
getByName(name) {
|
||||
|
||||
@@ -30,6 +30,14 @@ plugins {
|
||||
android {
|
||||
androidConfig(project)
|
||||
composeConfig()
|
||||
// Waiting for https://github.com/google/ksp/issues/37
|
||||
libraryVariants.all {
|
||||
kotlin.sourceSets {
|
||||
getByName(name) {
|
||||
kotlin.srcDir("build/generated/ksp/$name/kotlin")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -27,6 +27,14 @@ plugins {
|
||||
|
||||
android {
|
||||
androidConfig(project)
|
||||
// Waiting for https://github.com/google/ksp/issues/37
|
||||
libraryVariants.all {
|
||||
kotlin.sourceSets {
|
||||
getByName(name) {
|
||||
kotlin.srcDir("build/generated/ksp/$name/kotlin")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import extension.allLibraries
|
||||
import extension.allFeatures
|
||||
import extension.allLibraries
|
||||
|
||||
plugins {
|
||||
id("io.element.android-compose-library")
|
||||
@@ -35,7 +35,7 @@ dependencies {
|
||||
kspTest(libs.showkase.processor)
|
||||
|
||||
// TODO Move to libs
|
||||
testImplementation("com.airbnb.android:showkase-screenshot-testing:$1.0.0-beta14")
|
||||
testImplementation("com.airbnb.android:showkase-screenshot-testing:1.0.0-beta14")
|
||||
testImplementation("com.google.testparameterinjector:test-parameter-injector:1.8")
|
||||
|
||||
implementation(project(":libraries:designsystem"))
|
||||
|
||||
Reference in New Issue
Block a user