-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
build.gradle
47 lines (40 loc) · 1.49 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
plugins {
id 'java-library'
id "org.jetbrains.kotlin.jvm"
id 'com.stepango.aar2jar'
}
ext {
groupId = 'com.github.kirich1409'
artifactId = "viewbindingpropertydelegate-full"
}
//apply from: rootProject.file('publishing.gradle')
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions {
jvmTarget = "1.8"
kotlinOptions.freeCompilerArgs +=
['-module-name', "com.github.kirich1409.ViewBindingPropertyDelegate.core"]
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
withJavadocJar()
}
dependencies {
implementationAar rootProject.ext.dependencies.coreKtx
implementationAar rootProject.ext.dependencies.core
implementationAar rootProject.ext.dependencies.fragmentKtx
implementationAar rootProject.ext.dependencies.fragment
compileOnlyAar rootProject.ext.dependencies.viewBinding
implementationAar rootProject.ext.dependencies.lifecycleCommon
implementationAar rootProject.ext.dependencies.recyclerview
compileOnly rootProject.ext.dependencies.annotations
compileOnlyAar rootProject.ext.dependencies.activity
compileOnlyAar rootProject.ext.dependencies.savedstate
compileOnlyAar rootProject.ext.dependencies.lifecycleViewmodel
compileOnlyAar rootProject.ext.dependencies.lifecycleRuntime
compileOnly androidJar
api project(':vbpd:vbpd-noreflection')
}
apply from: rootProject.file('publishing.gradle')