Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Update publish plugin and wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
johndevs committed Oct 12, 2019
1 parent fe3e9d7 commit d4755a0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
16 changes: 14 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ plugins {
id 'maven-publish'
id 'idea'
id 'codenarc'
id 'com.gradle.plugin-publish' version '0.10.0'
id 'com.gradle.plugin-publish' version '0.10.1'
id 'checkstyle'
}

Expand Down Expand Up @@ -395,4 +395,16 @@ pluginBundle {
groupId = 'com.devsoap.plugin'
artifactId = 'gradle-vaadin-plugin'
}
}
}


/***********************************************************************************************************************
*
* Misc.
*
**********************************************************************************************************************/
wrapper {
gradleVersion = '5.6'
distributionUrl = distributionUrl.replace('bin', 'all') // Download sources
}

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class GradleVersionTest extends IntegrationTest {

@Parameterized.Parameters(name = "Gradle {0}")
static Collection<String> getGradleVersions() {
[ '5.6.2']
[ '5.6.0']
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class GradleVaadinPlugin implements Plugin<Project> {

Gradle gradle = project.gradle
VersionNumber version = VersionNumber.parse(gradle.gradleVersion)
VersionNumber requiredVersion = new VersionNumber(5, 6, 2, null)
VersionNumber requiredVersion = new VersionNumber(5, 6, 0, null)
if ( version.baseVersion < requiredVersion ) {
throw new UnsupportedVersionException("Your gradle version ($version) is too old. " +
"Plugin requires Gradle $requiredVersion+")
Expand Down

0 comments on commit d4755a0

Please sign in to comment.