diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 7f68460..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 4361591..5813da2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -54,4 +54,9 @@ dependencies { implementation project(':feed') implementation project(':ui_commons') implementation project(':navigator') + + implementation "androidx.compose.ui:ui:$compose_version" + implementation "androidx.activity:activity-compose:1.3.0-rc02" + implementation "androidx.compose.material:material:$compose_version" + implementation "androidx.compose.ui:ui-tooling:$compose_version" } \ No newline at end of file diff --git a/build.gradle b/build.gradle index cd9afdb..3319916 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = "1.3.41" + ext.compose_version = "1.0.0-rc02" repositories { google() jcenter() diff --git a/feed/build.gradle b/feed/build.gradle index c97e782..9fec0fb 100644 --- a/feed/build.gradle +++ b/feed/build.gradle @@ -23,6 +23,10 @@ android { } } + buildFeatures { + compose true + } + } dependencies { @@ -57,4 +61,10 @@ dependencies { implementation project(':navigator') + implementation "androidx.compose.ui:ui:$compose_version" + implementation "androidx.activity:activity-compose:1.3.0-rc02" + implementation "androidx.compose.material:material:$compose_version" + implementation "androidx.compose.ui:ui-tooling:$compose_version" + + } \ No newline at end of file diff --git a/ui_commons/build.gradle b/ui_commons/build.gradle index 8da80a0..742c5f4 100644 --- a/ui_commons/build.gradle +++ b/ui_commons/build.gradle @@ -38,4 +38,9 @@ dependencies { kapt 'com.airbnb.android:epoxy-processor:3.11.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' + implementation "androidx.compose.ui:ui:$compose_version" + implementation "androidx.activity:activity-compose:1.3.0-rc02" + implementation "androidx.compose.material:material:$compose_version" + implementation "androidx.compose.ui:ui-tooling:$compose_version" + } \ No newline at end of file diff --git a/ui_commons/src/main/java/com/cupsofcode/ui_commons/compose/FeedRow.kt b/ui_commons/src/main/java/com/cupsofcode/ui_commons/compose/FeedRow.kt new file mode 100644 index 0000000..4700904 --- /dev/null +++ b/ui_commons/src/main/java/com/cupsofcode/ui_commons/compose/FeedRow.kt @@ -0,0 +1,8 @@ +package com.cupsofcode.ui_commons.compose + +import androidx.compose.runtime.Composable + +@Composable +fun FeedRow() { + +} \ No newline at end of file