Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
another attempt for jitpack to work
Browse files Browse the repository at this point in the history
  • Loading branch information
PolarianDev committed Jan 11, 2022
1 parent 0b3238d commit 736c54a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'com.github.craftTogether'
version = '1.0-SNAPSHOT-7'
version = '1.0-SNAPSHOT-8'

repositories {
mavenCentral()
Expand Down Expand Up @@ -54,17 +54,7 @@ processResources {
publishing {
publications {
mavenJava(MavenPublication) {
pom.withXml {
def dependenciesNode = asNode().appendNode('dependencies')
configurations.api.allDependencies.each {
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', it.group)
dependencyNode.appendNode('artifactId', it.name)
dependencyNode.appendNode('version', it.version)
}
artifactId = Project.getName()
from components.java
}
from(components.java)
}
}
}

0 comments on commit 736c54a

Please sign in to comment.