Skip to content

Commit 4b81f3e

Browse files
committed
add publishing steps
1 parent 4c3bc0d commit 4b81f3e

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
# Kotlin SDK for Aptabase
44

5-
<!-- [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Faptabase%2Faptabase-swift%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/aptabase/aptabase-swift)
6-
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Faptabase%2Faptabase-swift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/aptabase/aptabase-swift) -->
7-
8-
95
Instrument your apps with Aptabase, an Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps.
106

117
## Install

aptabase/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.library'
33
id 'org.jetbrains.kotlin.android'
4+
id 'maven-publish'
45
}
56

67
android {
@@ -39,4 +40,18 @@ dependencies {
3940
testImplementation 'junit:junit:4.13.2'
4041
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
4142
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
43+
}
44+
45+
publishing {
46+
publications {
47+
release(MavenPublication) {
48+
groupId = 'com.aptabase'
49+
artifactId = 'aptabase'
50+
version = '0.0.0'
51+
52+
afterEvaluate {
53+
from components.release
54+
}
55+
}
56+
}
4257
}

0 commit comments

Comments
 (0)