updating kotlin, commons, gradle

This commit is contained in:
tibbi 2022-08-24 22:41:54 +02:00
parent 7e16298a2c
commit b263a9dc98
5 changed files with 12 additions and 12 deletions

View File

@ -10,12 +10,12 @@ if (keystorePropertiesFile.exists()) {
} }
android { android {
compileSdkVersion 31 compileSdkVersion 33
defaultConfig { defaultConfig {
applicationId "com.simplemobiletools.notes.pro" applicationId "com.simplemobiletools.notes.pro"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 31 targetSdkVersion 33
versionCode 97 versionCode 97
versionName "6.13.0" versionName "6.13.0"
setProperty("archivesBaseName", "notes") setProperty("archivesBaseName", "notes")
@ -63,11 +63,11 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:7c48da6bef' implementation 'com.github.SimpleMobileTools:Simple-Commons:1dabb1506e'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.documentfile:documentfile:1.0.1' implementation 'androidx.documentfile:documentfile:1.0.1'
kapt 'androidx.room:room-compiler:2.4.2' kapt 'androidx.room:room-compiler:2.4.3'
implementation 'androidx.room:room-runtime:2.4.2' implementation 'androidx.room:room-runtime:2.4.3'
annotationProcessor 'androidx.room:room-compiler:2.4.2' annotationProcessor 'androidx.room:room-compiler:2.4.3'
} }

View File

@ -158,13 +158,13 @@ class MainActivity : SimpleActivity() {
findItem(R.id.undo).apply { findItem(R.id.undo).apply {
isVisible = areButtonsVisible isVisible = areButtonsVisible
isEnabled = showUndoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value isEnabled = showUndoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
icon.alpha = if (isEnabled) 255 else 127 icon?.alpha = if (isEnabled) 255 else 127
} }
findItem(R.id.redo).apply { findItem(R.id.redo).apply {
isVisible = areButtonsVisible isVisible = areButtonsVisible
isEnabled = showRedoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value isEnabled = showRedoButton && mCurrentNote.type == NoteType.TYPE_TEXT.value
icon.alpha = if (isEnabled) 255 else 127 icon?.alpha = if (isEnabled) 255 else 127
} }
} }

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.6.21' ext.kotlin_version = '1.7.10'
repositories { repositories {
google() google()
@ -9,7 +9,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.1.3' classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

View File

@ -1 +1 @@
Уиджет за списък със задачи с организатор на тетрадки, контролен списък, прост списък за пазаруване Уиджет за списък със задачи с организатор на тетрадки, контролен списък

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip