Skip to content

Commit 86244df

Browse files
committed
More fixes
1 parent 54bbae6 commit 86244df

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

lib/build.gradle

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
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

56
android {
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 {
2425
repositories {
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+
}

0 commit comments

Comments
 (0)