mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 20:01:55 +00:00
Make generated code visible
This commit is contained in:
committed by
Benoit Marty
parent
7bbadf3765
commit
0c511b1092
@@ -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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user