forked from Visual-Code-Space/Visual-Code-Space
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
111 lines (91 loc) · 2.99 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'com.google.android.gms.oss-licenses-plugin'
}
android {
namespace rootProject.ext.applicationId
compileSdk rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
applicationId rootProject.ext.applicationId
minSdk rootProject.ext.minSdk
targetSdk rootProject.ext.targetSdk
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
}
signingConfigs {
global {
storeFile file ("vcspace.keystore")
keyAlias "vcspace"
keyPassword "raredevKey"
storePassword "raredevKey"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.global
}
debug {
signingConfig signingConfigs.global
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
packagingOptions {
resources.excludes.add("license/*")
exclude 'META-INF/eclipse.inf'
exclude 'about_files/LICENSE-2.0.txt'
exclude 'plugin.xml'
exclude 'plugin.properties'
}
lint {
abortOnError false
}
buildFeatures {
viewBinding true
buildConfig true
}
}
dependencies {
def lifecycle_version = "2.6.1"
def activity_version = "1.7.1"
def markwon_version = "4.6.2"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "androidx.activity:activity:$activity_version"
implementation 'androidx.lifecycle:lifecycle-livedata:$lifecycle_version'
implementation 'androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version'
implementation "androidx.activity:activity-ktx:$activity_version"
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version'
implementation androidx.core
implementation androidx.core_ktx
implementation androidx.appcompat
implementation androidx.preference
implementation androidx.fragment
implementation google.material
implementation google.oss_licenses
implementation google.guava
implementation google.gson
implementation common.utilcode
implementation common.jgit
implementation common.eventbus
implementation common.jsoup
implementation platform("io.github.Rosemoe.sora-editor:bom:0.21.1")
implementation "io.github.Rosemoe.sora-editor:editor"
implementation "io.github.Rosemoe.sora-editor:language-textmate"
implementation "io.noties.markwon:core:$markwon_version"
implementation "io.noties.markwon:linkify:$markwon_version"
implementation "io.noties.markwon:image:$markwon_version"
implementation "io.noties.markwon:image-glide:$markwon_version"
implementation project(path: ':common')
implementation project(path: ':extensions-api')
//debugImplementation common.leakcanary
}