Skip to content

Commit

Permalink
Using repository gradlePluginPortal()
Browse files Browse the repository at this point in the history
Closes gh-6
  • Loading branch information
rainboyan committed Nov 13, 2024
1 parent 4990630 commit 7b1bcb1
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
buildscript {
repositories {
// mavenLocal()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'https://repo.gradle.org/gradle/libs-releases' }
}
dependencies {
classpath "org.graceframework:grace-gradle-plugin:$graceVersion"
repositories {
// mavenLocal()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "org.graceframework:grace-gradle-plugin:$graceVersion"
classpath "io.github.gradle-nexus:publish-plugin:1.3.0"
}
}
}

ext."signing.keyId" = project.hasProperty("signing.keyId") ? project.getProperty('signing.keyId') : System.getenv('SIGNING_KEY')
Expand All @@ -28,21 +27,20 @@ apply plugin: "maven-publish"
apply plugin: "signing"

repositories {
// mavenLocal()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
// mavenLocal()
mavenCentral()
}

configurations {
documentation
}

dependencies {
compileOnly "org.graceframework:grace-core"
compileOnly "org.graceframework:grace-core"
api "org.gebish:geb-spock:$gebSpock", {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
compileOnly "org.graceframework:grace-boot"
compileOnly "org.graceframework:grace-boot"
documentation "org.fusesource.jansi:jansi:1.18"
documentation "org.apache.groovy:groovy:$groovyVersion"
documentation "org.apache.groovy:groovy-ant:$groovyVersion"
Expand Down

0 comments on commit 7b1bcb1

Please sign in to comment.