Skip to content

Commit

Permalink
Init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
v1tzor committed Jul 16, 2023
1 parent 59ba18e commit 1517b5d
Show file tree
Hide file tree
Showing 528 changed files with 19,500 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
3 changes: 3 additions & 0 deletions .idea/.gitignore

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

6 changes: 6 additions & 0 deletions .idea/compiler.xml

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

6 changes: 6 additions & 0 deletions .idea/copyright/copyright.xml

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

7 changes: 7 additions & 0 deletions .idea/copyright/profiles_settings.xml

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

23 changes: 23 additions & 0 deletions .idea/deploymentTargetDropDown.xml

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

44 changes: 44 additions & 0 deletions .idea/gradle.xml

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

32 changes: 32 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

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

35 changes: 35 additions & 0 deletions .idea/jarRepositories.xml

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

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

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

12 changes: 12 additions & 0 deletions .idea/ktlint.xml

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

10 changes: 10 additions & 0 deletions .idea/migrations.xml

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

9 changes: 9 additions & 0 deletions .idea/misc.xml

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

1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
144 changes: 144 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
/*
* Copyright 2023 Stanislav Aleshin
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* imitations under the License.
*/

import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("kotlin-parcelize")
kotlin("kapt")
}

repositories {
mavenCentral()
google()
}

android {
val localProperties = gradleLocalProperties(rootDir)

namespace = Config.applicationId
compileSdk = Config.compileSdkVersion

defaultConfig {
applicationId = Config.applicationId
minSdk = Config.minSdkVersion
targetSdk = Config.targetSdkVersion
versionCode = Config.versionCode
versionName = Config.versionName

testInstrumentationRunner = Config.testInstrumentRunner
vectorDrawables {
useSupportLibrary = true
}
}

signingConfigs {
create("release") {
storeFile = file(localProperties.getProperty("storeFile"))
storePassword = localProperties.getProperty("storePassword")
keyAlias = localProperties.getProperty("keyAlias")
keyPassword = localProperties.getProperty("keyPassword")
}
getByName("debug") {
storeFile = file(localProperties.getProperty("storeFile"))
storePassword = localProperties.getProperty("storePassword")
keyAlias = localProperties.getProperty("keyAlias")
keyPassword = localProperties.getProperty("keyPassword")
}
}

buildTypes {
getByName("release") {
isDebuggable = false
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
signingConfig = signingConfigs.getByName("release")
}
getByName("debug") {
applicationIdSuffix = ".debug"
isDebuggable = true
signingConfig = signingConfigs.getByName("debug")
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = Config.jvmTarget
}

buildFeatures {
compose = true
buildConfig = true
}

composeOptions {
kotlinCompilerExtensionVersion = Config.kotlinCompiler
}

packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}

dependencies {
implementation(project(":module_injector"))
implementation(project(":core:common"))
implementation(project(":core:ui"))
implementation(project(":features:home:impl"))
implementation(project(":features:home:api"))
implementation(project(":features:settings:impl"))
implementation(project(":features:settings:api"))
implementation(project(":features:player:impl"))
implementation(project(":features:player:api"))

implementation(Dependencies.AndroidX.core)
implementation(Dependencies.AndroidX.appcompat)
implementation(Dependencies.AndroidX.material)
implementation(Dependencies.AndroidX.googleMaterial)
implementation(Dependencies.AndroidX.lifecycleRuntime)
implementation(Dependencies.AndroidX.systemUiController)

implementation(Dependencies.Compose.ui)
implementation(Dependencies.Compose.activity)

implementation(Dependencies.Dagger.core)
kapt(Dependencies.Dagger.kapt)

implementation(Dependencies.Room.core)
kapt(Dependencies.Room.kapt)

implementation(Dependencies.Voyager.navigator)
implementation(Dependencies.Voyager.screenModel)
implementation(Dependencies.Voyager.transitions)

testImplementation(Dependencies.Test.jUnit)
androidTestImplementation(Dependencies.Test.jUnitExt)
androidTestImplementation(Dependencies.Test.espresso)
androidTestImplementation(Dependencies.Test.composeJUnit)
debugImplementation(Dependencies.Compose.uiTooling)
debugImplementation(Dependencies.Compose.uiTestManifest)

debugImplementation(Dependencies.Leakcanary.library)
}
Binary file added app/debug/app-debug.apk
Binary file not shown.
Loading

0 comments on commit 1517b5d

Please sign in to comment.