Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4b554fa
App code
android-dev-lxl May 25, 2023
e4230ca
Update ItemEditViewModel.kt
android-dev-lxl Jun 2, 2023
79d11ef
Update ItemEditViewModel.kt
android-dev-lxl Jun 2, 2023
9e6ebee
Update ItemDetailsScreen.kt
android-dev-lxl Jun 6, 2023
4fd0077
Starter Groovy to Kotlin DSL (#45)
android-dev-lxl Jul 21, 2023
4be96f4
Edge to edge in starter branch (#57)
android-dev-lxl Apr 18, 2024
2a02264
Create main.yml
JoseAlcerreca Dec 9, 2024
2459c73
Update all dependencies
renovate[bot] Dec 9, 2024
fb1e7a3
Merge pull request #161 from google-developer-training/renovate/start…
JoseAlcerreca Dec 9, 2024
1062751
Update kotlin
renovate[bot] Dec 9, 2024
f465018
Compose compiler plugin
JoseAlcerreca Dec 9, 2024
8b92f99
Sdk 35
JoseAlcerreca Dec 9, 2024
4bdec11
Merge pull request #162 from google-developer-training/renovate/start…
JoseAlcerreca Dec 9, 2024
a9b9cc8
Update all dependencies (#164)
renovate[bot] Dec 12, 2024
dbde00b
Update dependency gradle 8.11.1 to v8.12 (#166)
renovate[bot] Dec 21, 2024
b2cd5aa
Update all dependencies 8.7.3 to v8.8.0 (#171)
renovate[bot] Jan 11, 2025
46abe00
Создал Dao, изменил Item,
Vacheslav676 Jun 1, 2025
8598fca
Реализовал функцию добавления данных в базу данных. (просмотра пока н…
Vacheslav676 Jun 2, 2025
50de3ef
Реализовал отображение данных на главном экране в базе данных
Vacheslav676 Jul 20, 2025
fbbbc1c
Реализовал отображение данных на главном экране в базе данных. добавл…
Vacheslav676 Aug 5, 2025
8b4cee0
Реализовал пункт 6. Отображение сведений об элементе (детали элемента)
Vacheslav676 Oct 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

on:
pull_request:
branches:
- main
- starter

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Setup Android SDK
uses: android-actions/setup-android@v3

- name: Build project
run: ./gradlew :app:assembleDebug
89 changes: 0 additions & 89 deletions app/build.gradle

This file was deleted.

94 changes: 94 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/*
* Copyright (C) 2023 The Android Open Source Project
*
* 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
*
* https://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
* limitations under the License.
*/

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp") version "2.1.0-1.0.29"
id("org.jetbrains.kotlin.plugin.compose")
}

android {
compileSdk = 35


defaultConfig {
applicationId = "com.example.inventory"
minSdk = 24
targetSdk = 35
versionCode = 1
versionName = "1.0"


testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}

}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
compose = true
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
namespace = "com.example.inventory"
}

dependencies {
// Import the Compose BOM
implementation(platform("androidx.compose:compose-bom:2024.12.01"))
implementation("androidx.activity:activity-compose:1.9.3")
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-tooling")
implementation("androidx.compose.ui:ui-tooling-preview")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7")
implementation("androidx.navigation:navigation-compose:2.8.5")



//Room
implementation("androidx.room:room-runtime:${rootProject.extra["room_version"]}")
ksp("androidx.room:room-compiler:${rootProject.extra["room_version"]}")
implementation("androidx.room:room-ktx:${rootProject.extra["room_version"]}")
// KSP — это мощный и в то же время простой API для анализа аннотаций Kotlin.

// Testing

androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
}
4 changes: 2 additions & 2 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
# proguardFiles setting in build.gradle.kts.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
Expand All @@ -18,4 +18,4 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile
118 changes: 0 additions & 118 deletions app/src/androidTest/java/com/example/inventory/ItemDaoTest.kt

This file was deleted.

Loading