Skip to content

Commit

Permalink
Fix jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
omkar-tenkale committed Feb 20, 2023
1 parent 985e4d2 commit 38cd583
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
15 changes: 0 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@ buildscript {
classpath "com.vanniktech:gradle-maven-publish-plugin:$mavenPublishVersion"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$kotlinVersion"
}
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
groupId = 'com.github.omkar-tenkale'
artifactId = 'ExplodingComposable'
version = '1.0.0'
}
}
}
}
}

plugins {
id 'maven-publish'
}

task clean(type: Delete) {
Expand Down
15 changes: 14 additions & 1 deletion explodable/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'org.jetbrains.dokka'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -61,4 +62,16 @@ dokkaHtml.configure {
}
}

apply plugin: 'com.vanniktech.maven.publish'
publishing {
publications {
release(MavenPublication) {
groupId = 'com.github.omkar-tenkale'
artifactId = 'ExplodingComposable'
version = '1.0.0'

afterEvaluate {
from components.release
}
}
}
}

0 comments on commit 38cd583

Please sign in to comment.