| @@ -1,6 +1,7 @@ | |||
| plugins { | |||
| id 'com.android.library' | |||
| id 'org.jetbrains.kotlin.android' | |||
| id 'maven-publish' | |||
| } | |||
| android { | |||
| @@ -33,4 +34,17 @@ android { | |||
| dependencies { | |||
| implementation fileTree(include: ['*.jar'], dir: 'libs') | |||
| api files('libs/AILinkHealthRingSDK.jar') | |||
| } | |||
| afterEvaluate { | |||
| publishing { | |||
| publications { | |||
| release(MavenPublication) { | |||
| from components.release | |||
| groupId = 'com.github.elinkthings' | |||
| artifactId = 'AILinkSDKHealthRingLibraryAndroid' | |||
| version = '1.0.0' | |||
| } | |||
| } | |||
| } | |||
| } | |||