mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-23 03:50:07 +01:00
updating kotlin, commons, gradle
This commit is contained in:
parent
7e16298a2c
commit
b263a9dc98
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -1 +1 @@
|
|||||||
Уиджет за списък със задачи с организатор на тетрадки, контролен списък, прост списък за пазаруване
|
Уиджет за списък със задачи с организатор на тетрадки, контролен списък
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user