File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change 1
- apply plugin : ' com.android.library'
2
-
3
- def libVersion = ' 13.4.2'
1
+ plugins {
2
+ id ' com.android.library'
3
+ id ' maven-publish'
4
+ }
4
5
5
6
android {
6
- compileSdkVersion 30
7
+ compileSdkVersion 32
7
8
buildToolsVersion ' 30.0.3'
8
9
9
10
defaultConfig {
10
11
minSdkVersion 14
11
- targetSdkVersion 30
12
+ targetSdkVersion 32
12
13
}
13
14
compileOptions {
14
15
sourceCompatibility JavaVersion . VERSION_1_8
@@ -24,3 +25,20 @@ dependencies {
24
25
repositories {
25
26
mavenCentral()
26
27
}
28
+
29
+ afterEvaluate {
30
+ publishing {
31
+ publications {
32
+ // Creates a Maven publication called "release".
33
+ release(MavenPublication ) {
34
+ // Applies the component for the release build variant.
35
+ from components. release
36
+
37
+ // You can then customize attributes of the publication as shown below.
38
+ groupId = ' com.turingtechnologies.materialscrollbar'
39
+ artifactId = ' library'
40
+ version = ' 13.4.2'
41
+ }
42
+ }
43
+ }
44
+ }
You can’t perform that action at this time.
0 commit comments