diff --git a/hbrecorder/build.gradle b/hbrecorder/build.gradle index acfd364..b6be67e 100644 --- a/hbrecorder/build.gradle +++ b/hbrecorder/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.library' +apply plugin: 'maven-publish' android { compileSdk 34 @@ -29,3 +30,16 @@ dependencies { androidTestImplementation 'androidx.test:runner:1.5.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' } + +afterEvaluate { + publishing { + publications { + // Creates a Maven publication called "release". + release(MavenPublication) { + from components.properties.release + groupId = 'com.github.HBiSoft' + artifactId = 'HBRecorder' + } + } + } +}