-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
54 lines (48 loc) · 953 Bytes
/
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
buildscript {
ext {
agp_version = '7.4.2'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$agp_version"
}
}
plugins {
id 'maven-publish'
}
allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
android {
compileSdk 33
buildToolsVersion '35.0.0'
defaultConfig {
minSdkVersion 8
targetSdk 33
versionName '0.5.0'
}
publishing {
singleVariant("release")
}
}
dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.preference:preference:1.2.1'
}
afterEvaluate {
publishing {
publications {
productionRelease(MavenPublication) {
from components.release
}
}
}
}