Skip to content

Commit f2e7f3a

Browse files
committed
Update Intellij Gradle plugin and add changelog
1 parent 53d4558 commit f2e7f3a

File tree

7 files changed

+33
-13
lines changed

7 files changed

+33
-13
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.1.2-alpha-alpha]
8+
Fix templates not working, my bad
9+
10+
## [0.1.1-alpha-alpha]
11+
New changes!
12+
13+
Projects will now only reload if needed (no more unnecessary project reload)
14+
There's now a Beat Saber Reference Manager (can be found in Tools -> BSMT Rider) for adding Beat Saber DLLs
15+
Actions are now grouped into "BSMT Rider" and can also be found in the project right click popup
16+
Removed the broken protocol thing I tried, didn't work out
17+
718
## 2019.2
819
- Initial version

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import org.apache.tools.ant.taskdefs.condition.Os
44
plugins {
55
id 'java'
66
id 'org.jetbrains.kotlin.jvm' version '1.5.20'
7-
id 'org.jetbrains.intellij' version '0.7.3' // https://github.com/JetBrains/gradle-intellij-plugin/releases
7+
id 'org.jetbrains.intellij' version '1.1.2' // https://github.com/JetBrains/gradle-intellij-plugin/releases
88
id 'com.jetbrains.rdgen' version '0.211.235' // https://www.myget.org/feed/rd-snapshots/package/maven/com.jetbrains.rd/rd-gen
99
}
1010

1111
ext {
1212
isWindows = Os.isFamily(Os.FAMILY_WINDOWS)
1313
rdLibDirectory = {
14-
new File(intellij.ideaDependency.classes, "lib/rd")
14+
new File(intellij.getIdeaDependency(project).classes, "lib/rd")
1515
}
1616
}
1717

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
DotnetPluginId=ReSharperPlugin.BSMT
55
DotnetSolution=ReSharperPlugin.BSMT-Rider.sln
66
RiderPluginId=bsmt_rider
7-
PluginVersion=0.1.1-alpha-alpha
7+
PluginVersion=0.1.2-alpha-alpha
88

99
BuildConfiguration=Debug
1010

gradle/wrapper/gradle-wrapper.jar

-508 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://cache-redirector.jetbrains.com/services.gradle.org/distributions/gradle-6.1.1-all.zip
3+
distributionUrl=https\://cache-redirector.jetbrains.com/services.gradle.org/distributions/gradle-6.8.3-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ esac
8282

8383
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
8484

85-
8685
# Determine the Java command to use to start the JVM.
8786
if [ -n "$JAVA_HOME" ] ; then
8887
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
@@ -130,7 +129,6 @@ fi
130129
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
131130
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
132131
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
133-
134132
JAVACMD=`cygpath --unix "$JAVACMD"`
135133

136134
# We build the pattern for arguments to be converted via cygpath

gradlew.bat

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ if "%DIRNAME%" == "" set DIRNAME=.
2929
set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

32-
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
33-
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34-
3532
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
3633
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
3734

@@ -40,7 +37,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4037

4138
set JAVA_EXE=java.exe
4239
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto execute
40+
if "%ERRORLEVEL%" == "0" goto init
4441

4542
echo.
4643
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -54,7 +51,7 @@ goto fail
5451
set JAVA_HOME=%JAVA_HOME:"=%
5552
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5653

57-
if exist "%JAVA_EXE%" goto execute
54+
if exist "%JAVA_EXE%" goto init
5855

5956
echo.
6057
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -64,14 +61,28 @@ echo location of your Java installation.
6461

6562
goto fail
6663

64+
:init
65+
@rem Get command-line arguments, handling Windows variants
66+
67+
if not "%OS%" == "Windows_NT" goto win9xME_args
68+
69+
:win9xME_args
70+
@rem Slurp the command line arguments.
71+
set CMD_LINE_ARGS=
72+
set _SKIP=2
73+
74+
:win9xME_args_slurp
75+
if "x%~1" == "x" goto execute
76+
77+
set CMD_LINE_ARGS=%*
78+
6779
:execute
6880
@rem Setup the command line
6981

7082
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7183

72-
7384
@rem Execute Gradle
74-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
85+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
7586

7687
:end
7788
@rem End local scope for the variables with windows NT shell

0 commit comments

Comments
 (0)