Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 25 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run test

on:
pull_request:
branches:[master] #array of branches to run the workflow on

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 1.8
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Run unit tests
run: ./gradlew test
2 changes: 1 addition & 1 deletion .idea/compiler.xml

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

1 change: 1 addition & 0 deletions .idea/gradle.xml

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

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

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

2 changes: 1 addition & 1 deletion .idea/misc.xml

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

8 changes: 4 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.google.gms.google.services)
id("kotlin-kapt")
id("com.google.devtools.ksp")
}

android {
namespace = "eu.tutorials.noting"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "eu.tutorials.noting"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 1
versionName = "1.0"

Expand Down Expand Up @@ -53,7 +53,7 @@ dependencies {
androidTestImplementation(libs.androidx.espresso.core)
implementation (libs.androidx.room.ktx)
implementation (libs.androidx.room.runtime)
kapt (libs.androidx.room.compiler)
ksp(libs.androidx.room.compiler)

implementation (libs.androidx.lifecycle.viewmodel.ktx)
implementation (libs.androidx.lifecycle.runtime.ktx)
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/eu/tutorials/noting/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ import androidx.core.view.WindowInsetsCompat
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.StaggeredGridLayoutManager
import com.google.android.material.floatingactionbutton.FloatingActionButton
import eu.tutorials.noting.adapter.NotesAdapter
import eu.tutorials.noting.database.NoteDB
import eu.tutorials.noting.models.NoteViewModel
import eu.tutorials.noting.models.Notes
import eu.tutorials.noting.databinding.ActivityMainBinding
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.google.gms.google.services) apply false
id("com.google.devtools.ksp") version "2.1.0-1.0.29" apply false
}

tasks.register<Delete>("clean") {
Expand Down
20 changes: 10 additions & 10 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
[versions]
agp = "8.6.0"
agp = "8.8.0"
extAutolink = "4.6.2"
extStrikethrough = "4.6.2"
firebaseUiFirestore = "8.0.0"
glide = "4.13.2"
glideVersion = "compiler"
kotlin = "1.9.0"
coreKtx = "1.13.1"
kotlin = "2.1.0"
coreKtx = "1.15.0"
junit = "4.13.2"
junitVersion = "1.2.1"
espressoCore = "3.6.1"
appcompat = "1.7.0"
kotlinxCoroutinesAndroid = "2.2.0"
lifecycleRuntimeKtx = "2.8.6 "
lifecycleViewmodelKtx = "2.8.6"
lifecycleRuntimeKtx = "2.8.7 "
lifecycleViewmodelKtx = "2.8.7"
markdownedittext = "1.0.1"
material = "1.12.0"
activity = "1.9.2"
constraintlayout = "2.1.4"
activity = "1.9.3"
constraintlayout = "2.2.0"
googleGmsGoogleServices = "4.4.2"
firebaseAuth = "23.0.0"
materialVersion = "1.9.0"
playServicesAuth = "21.2.0"
firebaseAuth = "23.1.0"
materialVersion = "1.12.0"
playServicesAuth = "21.3.0"
recyclerviewswipedecorator = "1.4.2"
roomCompiler = "2.6.1 "
roomKtx = "2.6.1"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Sep 19 17:37:00 IST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists