Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
turing-tech committed Jan 12, 2022
1 parent 54bbae6 commit 86244df
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
apply plugin: 'com.android.library'

def libVersion = '13.4.2'
plugins {
id 'com.android.library'
id 'maven-publish'
}

android {
compileSdkVersion 30
compileSdkVersion 32
buildToolsVersion '30.0.3'

defaultConfig {
minSdkVersion 14
targetSdkVersion 30
targetSdkVersion 32
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -24,3 +25,20 @@ dependencies {
repositories {
mavenCentral()
}

afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.turingtechnologies.materialscrollbar'
artifactId = 'library'
version = '13.4.2'
}
}
}
}

0 comments on commit 86244df

Please sign in to comment.