File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ }
45
56android {
6- compileSdkVersion 30
7+ compileSdkVersion 32
78 buildToolsVersion ' 30.0.3'
89
910 defaultConfig {
1011 minSdkVersion 14
11- targetSdkVersion 30
12+ targetSdkVersion 32
1213 }
1314 compileOptions {
1415 sourceCompatibility JavaVersion . VERSION_1_8
@@ -24,3 +25,20 @@ dependencies {
2425repositories {
2526 mavenCentral()
2627}
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