Skip to content

Commit

Permalink
added theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Saradey committed Dec 28, 2023
1 parent 9739015 commit 6641c76
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,17 @@ android {
dependencies {
// core
implementation(":sources:core:di-core")
implementation(":sources:core:navigation")
implementation(libs.core.ktx)

// ui
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.constraintlayout)

// resources
implementation(":sources:resources:theme")

// tests
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
Expand Down
3 changes: 2 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ dependencyResolutionManagement {
rootProject.name = "EconoMe"
include(":app")
include(":sources:core:di-core")
include(":sources:core:navigation")
include(":sources:core:navigation")
include(":sources:resources:theme")
1 change: 1 addition & 0 deletions sources/resources/theme/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
26 changes: 26 additions & 0 deletions sources/resources/theme/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
plugins {
alias(libs.plugins.androidLibrary)
alias(libs.plugins.kotlinAndroid)
}

android {
namespace = "evgenii.goncharov.econome.theme"
compileSdk = extra["compileSdk"] as Int
defaultConfig {
minSdk = extra["minSdk"] as Int
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}

dependencies {

implementation(libs.appcompat)
implementation(libs.material)
}
2 changes: 2 additions & 0 deletions sources/resources/theme/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest />

0 comments on commit 6641c76

Please sign in to comment.