mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-22 07:09:10 +00:00
upgrade target and compile sdk
This commit is contained in:
parent
ecadcce08d
commit
b3a9613710
3 changed files with 8 additions and 11 deletions
|
@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
|
|||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
compileSdk 33
|
||||
buildToolsVersion '33.0.2'
|
||||
compileSdk 34
|
||||
buildToolsVersion = '33.0.2'
|
||||
|
||||
defaultConfig {
|
||||
applicationId "org.dslul.openboard.inputmethod.latin"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 33
|
||||
targetSdkVersion 34
|
||||
versionCode 19
|
||||
versionName '1.4.5'
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.core:core-ktx:1.10.1'
|
||||
implementation 'androidx.core:core-ktx:1.12.0'
|
||||
implementation 'androidx.preference:preference:1.2.1' // includes appcompat
|
||||
implementation 'androidx.recyclerview:recyclerview:1.3.1'
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
|
@ -83,11 +83,7 @@ dependencies {
|
|||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.mockito:mockito-core:3.12.4'
|
||||
testImplementation 'org.mockito:mockito-inline:3.12.4'
|
||||
testImplementation 'org.robolectric:robolectric:4.9'
|
||||
testImplementation 'org.robolectric:robolectric:4.10.3'
|
||||
testImplementation 'androidx.test:runner:1.5.2'
|
||||
testImplementation 'androidx.test:core:1.5.0'
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ import kotlin.math.min
|
|||
ShadowKeyboardSwitcher::class,
|
||||
ShadowHandler::class,
|
||||
ShadowFacilitator2::class,
|
||||
])
|
||||
], sdk = [33]) // todo: remove workaround after upgrading robolectric to 4.11
|
||||
class InputLogicTest {
|
||||
private lateinit var latinIME: LatinIME
|
||||
private val settingsValues get() = Settings.getInstance().current
|
||||
|
|
|
@ -19,9 +19,10 @@ allprojects {
|
|||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
tasks.register('clean', Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue