Skip to content

Commit

Permalink
Fix scripts for extras.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Sep 6, 2022
1 parent 5852df3 commit 691bcd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion byte-buddy-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if (gradle.gradleVersion.startsWith("2.")) {
throw new GradleException("Use build.legacy.gradle for executing build with Gradle 2")
}

apply from: 'common.gradle'
apply from: 'bytebuddy.gradle'
apply from: 'common.gradle'

repositories {
mavenCentral()
Expand Down
4 changes: 2 additions & 2 deletions byte-buddy-gradle-plugin/build.legacy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ if (!gradle.gradleVersion.startsWith("2.")) {
throw new GradleException("Cannot apply release using legacy build");
}

apply from: 'common.gradle'

ext.pom = new groovy.util.XmlSlurper().parse(rootProject.file('pom.xml'))
ext.outerPom = new groovy.util.XmlSlurper().parse(file('../pom.xml'))

apply from: 'common.gradle'

group = pom.parent.groupId.text().toString()
version = pom.parent.version.text().toString()
description = pom.description.text().toString()
Expand Down

0 comments on commit 691bcd7

Please sign in to comment.