Skip to content

Commit

Permalink
Define group as 'sortware.betamax' for correct releases
Browse files Browse the repository at this point in the history
  • Loading branch information
leonard84 committed Feb 13, 2017
1 parent 1943887 commit aa499cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions betamax.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apply from: "gradle/idea.gradle"

allprojects {
version "2.1.0-SNAPSHOT"
group 'software.betamax'

ext {
isSnapshot = version.endsWith("-SNAPSHOT")
Expand Down
3 changes: 0 additions & 3 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ def deployer = uploadArchives.repositories.mavenDeployer
// the order here matters; remove test dependencies and then alter the scopes of obvious libraries
pom.dependencies = pom.dependencies.findAll { dep -> dep.scope != 'test' }

// TODO We should figure out why this is necessary
pom.dependencies.find { dep -> dep.groupId == 'betamax' }?.groupId = 'software.betamax'

pom.dependencies.find { dep -> dep.groupId == 'junit' && dep.artifactId == 'junit' }?.scope = 'provided'
pom.dependencies.find { dep -> dep.groupId == 'org.specs2' && dep.artifactId == 'specs2-core_2.11' }?.scope = 'provided'
pom.dependencies.find { dep -> dep.groupId == 'org.scala-lang' && dep.artifactId == 'scala-library' }?.scope = 'provided'
Expand Down

0 comments on commit aa499cb

Please sign in to comment.