aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-12-10 11:54:39 -0500
committerAmin Bandali <bandali@kelar.org>2025-01-11 14:15:56 -0500
commitfb3b9360d70596d7e921de8bf7d3ca99564a077e (patch)
tree07ded064b8374f44c6d7b88ea1c39bce09a6cdf3 /build.gradle
parent41fd35c1412b6b3b52acdd30027c6d7ac54cd17f (diff)
downloadlatinime-fb3b9360d70596d7e921de8bf7d3ca99564a077e.tar.gz
latinime-fb3b9360d70596d7e921de8bf7d3ca99564a077e.tar.xz
latinime-fb3b9360d70596d7e921de8bf7d3ca99564a077e.zip
Initial successful standalone build
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle24
1 files changed, 11 insertions, 13 deletions
diff --git a/build.gradle b/build.gradle
index ab631c0ef..67f9a6ade 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,15 +4,15 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.2.0-beta03'
+ classpath 'com.android.tools.build:gradle:8.7.3'
}
}
apply plugin: 'com.android.application'
android {
- compileSdkVersion 28
- buildToolsVersion '28.0.0'
+ namespace 'com.android.inputmethod.latin'
+ compileSdk 34
// Required if using classes in android.test.runner
useLibrary 'android.test.runner'
@@ -24,8 +24,8 @@ android {
useLibrary 'android.test.mock'
defaultConfig {
- minSdkVersion 21
- targetSdkVersion 28
+ minSdk 21
+ targetSdk 34
versionName "1.0"
applicationId 'com.android.inputmethod.latin'
@@ -56,8 +56,6 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}
- flavorDimensions "default"
-
sourceSets {
main {
res.srcDirs = ['java/res']
@@ -92,19 +90,19 @@ repositories {
maven { url "../../../prebuilts/fullsdk-linux/extras/android/m2repository" }
mavenCentral()
google()
- jcenter()
}
dependencies {
implementation 'androidx.legacy:legacy-support-v4:+'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
- testImplementation 'junit:junit:4.12'
+ testImplementation 'junit:junit:4.13.2'
androidTestImplementation "org.mockito:mockito-core:1.9.5"
androidTestImplementation 'com.google.dexmaker:dexmaker:1.2'
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2'
- androidTestImplementation 'com.android.support.test:runner:1.0.2'
- androidTestImplementation 'com.android.support.test:rules:1.0.2'
- androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
- androidTestImplementation "com.android.support:support-annotations:27.1.1"
+ androidTestImplementation "androidx.test:core:1.6.1"
+ androidTestImplementation 'androidx.test.ext:junit:1.1.1'
+ androidTestImplementation 'androidx.test:rules:1.1.1'
+ androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
+ androidTestImplementation 'androidx.annotation:annotation:1.0.0'
}