Skip to content

Commit

Permalink
reverted changes for maven central and back to jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoankit committed Nov 30, 2023
1 parent dea6976 commit 8c080df
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 91 deletions.
21 changes: 0 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,10 @@
buildscript {
ext {
compose_compiler = '1.3.2'
GROUP_ID = "io.github.pseudoankit"
ARTIFACT_ID = "coachmark"
VERSION = "1.0.0" // (System.getenv("RELEASE_TAG_NAME") ?: "SNAPSHOT").replace("v", "")
SITE_URL = 'https://github.com/pseudoankit/coachmark'
GIT_URL = 'https://github.com/pseudoankit/coachmark.git'
}
}
plugins {
id 'com.android.application' version '8.0.1' apply false
id 'com.android.library' version '8.0.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
}

nexusPublishing {
repositories {
sonatype { //only for users registered in Sonatype after 24 Feb 2021
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username = System.getenv("OSS_USERNAME")
password = System.getenv("OSS_PASSWORD")
stagingProfileId = System.getenv("OSS_STAGING_PROFILE_ID")
}
}
}

group = GROUP_ID
version = VERSION
16 changes: 13 additions & 3 deletions coachmark/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'maven-publish'
}

apply from: '../publish.gradle'

kotlin {
explicitApi = 'strict'
}
Expand Down Expand Up @@ -51,3 +48,16 @@ dependencies {
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.compose.material3:material3'
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.pseudoankit'
artifactId = 'compose-coachmark'
version = '1.0.0'
}
}
}
}
67 changes: 0 additions & 67 deletions publish.gradle

This file was deleted.

0 comments on commit 8c080df

Please sign in to comment.