Skip to content

Commit b263a9d

Browse files
committed
updating kotlin, commons, gradle
1 parent 7e16298 commit b263a9d

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ if (keystorePropertiesFile.exists()) {
1010
}
1111

1212
android {
13-
compileSdkVersion 31
13+
compileSdkVersion 33
1414

1515
defaultConfig {
1616
applicationId "com.simplemobiletools.notes.pro"
1717
minSdkVersion 21
18-
targetSdkVersion 31
18+
targetSdkVersion 33
1919
versionCode 97
2020
versionName "6.13.0"
2121
setProperty("archivesBaseName", "notes")
@@ -63,11 +63,11 @@ android {
6363
}
6464

6565
dependencies {
66-
implementation 'com.github.SimpleMobileTools:Simple-Commons:7c48da6bef'
66+
implementation 'com.github.SimpleMobileTools:Simple-Commons:1dabb1506e'
6767
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
6868
implementation 'androidx.documentfile:documentfile:1.0.1'
6969

70-
kapt 'androidx.room:room-compiler:2.4.2'
71-
implementation 'androidx.room:room-runtime:2.4.2'
72-
annotationProcessor 'androidx.room:room-compiler:2.4.2'
70+
kapt 'androidx.room:room-compiler:2.4.3'
71+
implementation 'androidx.room:room-runtime:2.4.3'
72+
annotationProcessor 'androidx.room:room-compiler:2.4.3'
7373
}

app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@ class MainActivity : SimpleActivity() {
158158
findItem(R.id.undo).apply {
159159
isVisible = areButtonsVisible
160160
isEnabled = showUndoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
161-
icon.alpha = if (isEnabled) 255 else 127
161+
icon?.alpha = if (isEnabled) 255 else 127
162162
}
163163

164164
findItem(R.id.redo).apply {
165165
isVisible = areButtonsVisible
166166
isEnabled = showRedoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
167-
icon.alpha = if (isEnabled) 255 else 127
167+
icon?.alpha = if (isEnabled) 255 else 127
168168
}
169169
}
170170

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.6.21'
4+
ext.kotlin_version = '1.7.10'
55

66
repositories {
77
google()
88
jcenter()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:7.1.3'
12+
classpath 'com.android.tools.build:gradle:7.2.2'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414

1515
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Уиджет за списък със задачи с организатор на тетрадки, контролен списък, прост списък за пазаруване
1+
Уиджет за списък със задачи с организатор на тетрадки, контролен списък

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip

0 commit comments

Comments
 (0)