mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-25 11:22:20 +00:00
upgrade dependencies
This commit is contained in:
parent
22a5c6dbe0
commit
bed2812887
8 changed files with 45 additions and 21 deletions
|
@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
|
|||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
compileSdkVersion 33
|
||||
compileSdk 33
|
||||
|
||||
defaultConfig {
|
||||
applicationId "org.dslul.openboard.inputmethod.latin"
|
||||
|
@ -27,12 +27,13 @@ android {
|
|||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro', 'src/main/proguard.flags'
|
||||
applicationIdSuffix ".debug"
|
||||
}
|
||||
buildFeatures {
|
||||
viewBinding true
|
||||
}
|
||||
archivesBaseName = "openboard_" + defaultConfig.versionName
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
viewBinding true
|
||||
buildConfig true
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
ndkBuild {
|
||||
|
@ -45,7 +46,7 @@ android {
|
|||
}
|
||||
|
||||
ndkVersion '25.2.9519653'
|
||||
androidResources {
|
||||
androidResources { // todo: check, probably both can be removed (together with searching dicts in res/raw)
|
||||
noCompress 'main.dict'
|
||||
noCompress 'empty.dict'
|
||||
}
|
||||
|
@ -62,13 +63,24 @@ android {
|
|||
includeAndroidResources = true
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||
}
|
||||
|
||||
namespace "org.dslul.openboard.inputmethod.latin"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.core:core-ktx:1.10.1'
|
||||
implementation 'androidx.preference:preference:1.2.1' // includes appcompat
|
||||
implementation 'androidx.recyclerview:recyclerview:1.3.1'
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
implementation 'com.github.skydoves:colorpickerview:2.2.4'
|
||||
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
|
@ -76,5 +88,5 @@ dependencies {
|
|||
testImplementation 'org.mockito:mockito-inline:3.12.4'
|
||||
testImplementation 'org.robolectric:robolectric:4.9'
|
||||
testImplementation 'androidx.test:runner:1.5.2'
|
||||
testImplementation 'androidx.test:core:1.4.0'
|
||||
testImplementation 'androidx.test:core:1.5.0'
|
||||
}
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.dslul.openboard.inputmethod.latin">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-permission android:name="android.permission.READ_USER_DICTIONARY" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
|
|
|
@ -182,7 +182,7 @@ internal class KeyCodeDescriptionMapper private constructor() {
|
|||
private const val SPOKEN_EMOTICON_RESOURCE_NAME_PREFIX = "spoken_emoticon"
|
||||
private const val SPOKEN_EMOTICON_CODE_POINT_FORMAT = "_%02X"
|
||||
// The resource ID of the string spoken for obscured keys
|
||||
private const val OBSCURED_KEY_RES_ID = R.string.spoken_description_dot
|
||||
private val OBSCURED_KEY_RES_ID = R.string.spoken_description_dot
|
||||
val instance = KeyCodeDescriptionMapper()
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue