Skip to content

Commit cdce820

Browse files
authored
Upgrade mps-cli-gradle-plugin to Gradle 8.12.1 (#48)
* Upgrade mps-cli-gradle-plugin to Gradle 8.12.1 * Update publishing plugin
1 parent 227594e commit cdce820

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
3+
distributionSha256Sum=8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
5+
networkTimeout=10000
6+
validateDistributionUrl=true
47
zipStoreBase=GRADLE_USER_HOME
58
zipStorePath=wrapper/dists

mps-cli-gradle-plugin/gradlew

+8-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
8080
esac
8181
done
8282

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
83+
# This is normally unused
84+
# shellcheck disable=SC2034
8685
APP_BASE_NAME=${0##*/}
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147+
# shellcheck disable=SC3045
146148
MAX_FD=$( ulimit -H -n ) ||
147149
warn "Could not query maximum file descriptor limit"
148150
esac
149151
case $MAX_FD in #(
150152
'' | soft) :;; #(
151153
*)
154+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155+
# shellcheck disable=SC3045
152156
ulimit -n "$MAX_FD" ||
153157
warn "Could not set maximum file descriptor limit to $MAX_FD"
154158
esac

mps-cli-gradle-plugin/gradlew.bat

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
2828
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
2930
set APP_BASE_NAME=%~n0
3031
set APP_HOME=%DIRNAME%
3132

mps-cli-gradle-plugin/plugin/build.gradle

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@ plugins {
1414
id 'groovy'
1515

1616
id 'maven-publish'
17-
id 'com.gradle.plugin-publish' version '1.1.0'
17+
id 'com.gradle.plugin-publish' version '1.3.1'
1818
id 'application'
1919
}
2020

2121
// Project versions
2222
ext.major = '0'
2323
ext.minor = '18'
2424

25-
sourceCompatibility = 1.8
26-
targetCompatibility = 1.8
25+
java {
26+
sourceCompatibility = 1.8
27+
targetCompatibility = 1.8
28+
}
2729

2830
repositories {
2931
mavenLocal()

mps-cli-gradle-plugin/plugin/src/functionalTest/groovy/org/mps_cli/gradle/plugin/LanguagesInformationExtractionTest.groovy

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
*/
44
package org.mps_cli.gradle.plugin
55

6-
import org.gradle.internal.impldep.org.glassfish.jaxb.runtime.v2.runtime.property.StructureLoaderBuilder
7-
86
class LanguagesInformationExtractionTest extends TestBase {
97

108
def "languages information extraction test"() {

0 commit comments

Comments
 (0)