Skip to content

Commit

Permalink
Merge pull request #11 from middleware-labs/init-sdk
Browse files Browse the repository at this point in the history
🎨 publish
  • Loading branch information
Archish27 authored Nov 27, 2023
2 parents 0c5f308 + 3dafa89 commit a9b827b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
16 changes: 0 additions & 16 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,3 @@ android.useAndroidX=true
android.nonTransitiveRClass=true
RELEASE_SIGNING_ENABLED=true
SONATYPE_HOST=S01
GROUP=io.middleware.android
POM_ARTIFACT_ID=sdk
VERSION_NAME=1.0.0

POM_NAME="Middleware Android RUM SDK"
POM_DESCRIPTION="Middleware Android RUM SDK"
POM_INCEPTION_YEAR=2020
POM_URL=https://github.com/middleware-labs/middleware-android

POM_LICENSE_NAME=The Apache Software License, Version 2.0
POM_LICENSE_URL=https://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENSE_DIST=repo

POM_SCM_URL=https://github.com/middleware-labs/middleware-android
POM_SCM_CONNECTION=scm:git:git://github.com/middleware-labs/middleware-android.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/middleware-labs/middleware-android.git
27 changes: 27 additions & 0 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@ plugins {
id "com.vanniktech.maven.publish" version "0.25.3"
}

mavenPublishing {
coordinates("io.middleware.android", "sdk", "1.0.0")

pom {
name = "Middleware Android RUM SDK"
description = "Middleware Android RUM SDK"
inceptionYear = "2023"
url = "https://github.com/middleware-labs/middleware-android"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
scm {
url = "https://github.com/middleware-labs/middleware-android"
connection = "scm:git:git://github.com/middleware-labs/middleware-android.git"
developerConnection = "scm:git:ssh://[email protected]/middleware-labs/middleware-android.git"
}
}
}
android {
namespace 'io.middleware.android.sdk'
compileSdk 34
Expand All @@ -29,6 +51,11 @@ android {
useJUnitPlatform()
}
}
publishing {
singleVariant('release') {
withSourcesJar()
}
}
}

dependencies {
Expand Down

0 comments on commit a9b827b

Please sign in to comment.