forked from xiaojinzi123/KComponent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (38 loc) · 1.36 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.7.0"
ext.kotlin_coroutines_version = '1.6.4'
apply from: "common_support.gradle"
apply from: "dependencies.gradle"
ext {
compose_version = '1.2.0'
}
ext.component_group_id = "com.xiaojinzi"
ext.component_asm_util_class_output_path = "./Temp/ASMUtil.class"
ext.component_asm_disable = false
// 注解生成器生成的文件 json 信息都
ext.component_router_doc_folder = "./Doc"
ext.component_router_doc_enable = false
repositories {
google()
jcenter()
maven {
url './RepoKComponent'
}
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.xiaojinzi.kcomponent:kcomponent-plugin:${versions.component_version}"
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version" apply false
id 'com.android.library' version '7.3.1' apply false
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
id 'com.google.devtools.ksp' version "$kotlin_version-1.0.6" apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}