Make generated code visible
This commit is contained in:
parent
722365dc82
commit
160bc2b302
4 changed files with 20 additions and 3 deletions
|
|
@ -16,8 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import extension.allLibraries
|
|
||||||
import extension.allFeatures
|
import extension.allFeatures
|
||||||
|
import extension.allLibraries
|
||||||
|
|
||||||
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
|
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
|
||||||
@Suppress("DSL_SCOPE_VIOLATION")
|
@Suppress("DSL_SCOPE_VIOLATION")
|
||||||
|
|
@ -128,6 +128,7 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Waiting for https://github.com/google/ksp/issues/37
|
||||||
applicationVariants.all {
|
applicationVariants.all {
|
||||||
kotlin.sourceSets {
|
kotlin.sourceSets {
|
||||||
getByName(name) {
|
getByName(name) {
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,14 @@ plugins {
|
||||||
android {
|
android {
|
||||||
androidConfig(project)
|
androidConfig(project)
|
||||||
composeConfig()
|
composeConfig()
|
||||||
|
// Waiting for https://github.com/google/ksp/issues/37
|
||||||
|
libraryVariants.all {
|
||||||
|
kotlin.sourceSets {
|
||||||
|
getByName(name) {
|
||||||
|
kotlin.srcDir("build/generated/ksp/$name/kotlin")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,14 @@ plugins {
|
||||||
|
|
||||||
android {
|
android {
|
||||||
androidConfig(project)
|
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 {
|
dependencies {
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import extension.allLibraries
|
|
||||||
import extension.allFeatures
|
import extension.allFeatures
|
||||||
|
import extension.allLibraries
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("io.element.android-compose-library")
|
id("io.element.android-compose-library")
|
||||||
|
|
@ -35,7 +35,7 @@ dependencies {
|
||||||
kspTest(libs.showkase.processor)
|
kspTest(libs.showkase.processor)
|
||||||
|
|
||||||
// TODO Move to libs
|
// 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")
|
testImplementation("com.google.testparameterinjector:test-parameter-injector:1.8")
|
||||||
|
|
||||||
implementation(project(":libraries:designsystem"))
|
implementation(project(":libraries:designsystem"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue