-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
86 lines (70 loc) · 2.53 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'com.google.gms.google-services'
}
android {
compileSdk 32
defaultConfig {
applicationId "com.example.pdf"
minSdk 29
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
//glide load ảnh
implementation 'com.github.bumptech.glide:glide:4.13.0'
//sqllite
implementation("androidx.sqlite:sqlite:2.2.0")
implementation("androidx.sqlite:sqlite-ktx:2.2.0")
implementation("androidx.sqlite:sqlite-framework:2.2.0")
//createpdf
implementation 'com.tom_roush:pdfbox-android:1.8.10.1'
//noinspection GradleDependency
//crop image
api 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
//load image
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.10"
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
//fire base
implementation 'com.google.firebase:firebase-messaging:17.0.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
//splash screen
implementation 'androidx.core:core-splashscreen:1.0.0-beta01'
implementation 'com.google.android.gms:play-services-auth:20.1.0'
//request to serve
implementation 'com.android.volley:volley-cronet:1.2.1'
implementation 'com.android.volley:volley:1.2.1'
//ocr libary trước dùng thử sau đó tự tạo server riêng
implementation 'com.rmtheis:tess-two:6.0.4'
//request to server
implementation 'com.squareup.okhttp3:okhttp:4.7.2'
//pdf view
implementation 'com.github.barteksc:android-pdf-viewer:2.0.3'
//gson load json
implementation 'com.google.code.gson:gson:2.9.0'
//text - to pdf
implementation 'com.itextpdf:itextpdf:5.0.6'
}