Skip to content

Commit 2eff18d

Browse files
committed
build: update versions
1 parent 7714847 commit 2eff18d

File tree

11 files changed

+65
-82
lines changed

11 files changed

+65
-82
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Clojure.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/ClojureScript.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 43 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,60 @@
1-
buildscript {
2-
repositories {
3-
mavenCentral()
4-
}
5-
dependencies {
6-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
7-
}
8-
}
9-
101
plugins {
11-
id "org.jetbrains.intellij" version "0.4.19"
2+
id "org.jetbrains.kotlin.jvm" version "$kotlinVersion"
3+
id 'org.jetbrains.intellij' version "$ijpVersion"
124
}
135

14-
version = "${version}"
6+
version = "$pluginVersion"
157
defaultTasks "clean", "artifacts", "test"
168

17-
allprojects {
18-
apply plugin: "java"
19-
apply plugin: "kotlin"
9+
repositories {
10+
mavenCentral()
11+
}
12+
apply plugin: "java"
13+
apply plugin: "kotlin"
2014

21-
sourceCompatibility = javaVersion
22-
targetCompatibility = javaVersion
23-
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
24-
kotlinOptions {
25-
jvmTarget = javaVersion
26-
apiVersion = kotlinApiVersion
27-
}
28-
}
29-
sourceSets {
30-
main {
31-
java.srcDirs "src", "gen"
32-
kotlin.srcDirs "src"
33-
resources.srcDirs "resources"
34-
}
35-
test {
36-
kotlin.srcDirs "tests"
37-
}
15+
sourceCompatibility = javaVersion
16+
targetCompatibility = javaVersion
17+
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
18+
kotlinOptions {
19+
jvmTarget = javaVersion
20+
apiVersion = kotlinApiVersion
3821
}
39-
apply plugin: 'idea'
40-
idea.module {
41-
generatedSourceDirs += file('gen')
22+
}
23+
sourceSets {
24+
main {
25+
java.srcDirs "src", "gen"
26+
kotlin.srcDirs "src"
27+
resources.srcDirs "resources"
4228
}
43-
apply plugin: "org.jetbrains.intellij"
44-
intellij {
45-
version ideaVersion
46-
type "IC"
47-
plugins 'copyright', 'java'
48-
updateSinceUntilBuild false
49-
downloadSources = false
29+
test {
30+
kotlin.srcDirs "tests"
5031
}
5132
}
52-
53-
repositories {
54-
mavenCentral()
55-
maven { url "http://clojars.org/repo" }
33+
apply plugin: 'idea'
34+
idea.module {
35+
generatedSourceDirs += file('gen')
5636
}
57-
dependencies {
58-
testRuntime "org.clojure:clojure:1.10.2-alpha1"
59-
testRuntime "org.clojure:clojurescript:1.10.758"
60-
compile files("${System.properties['java.home']}/../lib/tools.jar")
37+
apply plugin: "org.jetbrains.intellij"
38+
intellij {
39+
version ideaVersion
40+
type "IC"
41+
plugins 'copyright', 'java'
42+
updateSinceUntilBuild false
43+
downloadSources = false
6144
}
45+
buildSearchableOptions.enabled = false
6246

6347
test {
48+
repositories {
49+
mavenCentral()
50+
maven { url "http://clojars.org/repo" }
51+
}
52+
dependencies {
53+
testRuntime "org.clojure:clojure:$clojureVersion"
54+
testRuntime "org.clojure:clojurescript:$cljsVersion"
55+
compile files("${System.properties['java.home']}/../lib/tools.jar")
56+
}
57+
6458
useJUnit {}
6559
include "**/*Test.class"
6660
scanForTestClasses false

gradle.properties

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Available idea versions:
22
# https://www.jetbrains.com/intellij-repository/releases
33
# https://www.jetbrains.com/intellij-repository/snapshots
4-
version=2020.1-snapshot
54

6-
ideaVersion=2020.1.1
7-
javaVersion=1.8
8-
kotlinVersion=1.3.72
9-
kotlinApiVersion=1.3
5+
pluginVersion=2020.3-SNAPSHOT
6+
ideaVersion=203-EAP-SNAPSHOT
7+
ijpVersion=0.6.1
8+
javaVersion=11
9+
kotlinVersion=1.4.10
10+
kotlinApiVersion=1.4
11+
clojureVersion=1.10.2-alpha3
12+
cljsVersion=1.10.773
1013

1114
artifactsPath=build/artifacts
1215
org.gradle.jvmargs=-Xmx384m -Dfile.encoding=utf-8

gradle/wrapper/gradle-wrapper.jar

509 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\://services.gradle.org/distributions/gradle-6.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

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

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

85+
8586
# Determine the Java command to use to start the JVM.
8687
if [ -n "$JAVA_HOME" ] ; then
8788
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
@@ -129,6 +130,7 @@ fi
129130
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
130131
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
131132
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
133+
132134
JAVACMD=`cygpath --unix "$JAVACMD"`
133135

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

gradlew.bat

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4040

4141
set JAVA_EXE=java.exe
4242
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto init
43+
if "%ERRORLEVEL%" == "0" goto execute
4444

4545
echo.
4646
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -54,7 +54,7 @@ goto fail
5454
set JAVA_HOME=%JAVA_HOME:"=%
5555
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5656

57-
if exist "%JAVA_EXE%" goto init
57+
if exist "%JAVA_EXE%" goto execute
5858

5959
echo.
6060
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -64,28 +64,14 @@ echo location of your Java installation.
6464

6565
goto fail
6666

67-
:init
68-
@rem Get command-line arguments, handling Windows variants
69-
70-
if not "%OS%" == "Windows_NT" goto win9xME_args
71-
72-
:win9xME_args
73-
@rem Slurp the command line arguments.
74-
set CMD_LINE_ARGS=
75-
set _SKIP=2
76-
77-
:win9xME_args_slurp
78-
if "x%~1" == "x" goto execute
79-
80-
set CMD_LINE_ARGS=%*
81-
8267
:execute
8368
@rem Setup the command line
8469

8570
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
8671

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

9076
:end
9177
@rem End local scope for the variables with windows NT shell

resources/META-INF/plugin.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<idea-plugin>
33
<id>org.jetbrains.idea.clojure</id>
4-
<version>2020.1-snapshot</version>
4+
<version>2020.3-SNAPSHOT</version>
55
<vendor email="[email protected]">Greg Shrago</vendor>
6-
<idea-version since-build="201.6668"/>
6+
<idea-version since-build="203.5419"/>
77

88
<name>Clojure-Kit</name>
99
<description>Clojure and ClojureScript plugin for IntelliJ-based tools</description>
@@ -15,9 +15,7 @@
1515
<change-notes>
1616
<![CDATA[
1717
<ul>
18-
<li>formatter: missing newline after a line comment (#31)</li>
19-
<li>resolve: nested vectors in `require` (#33)</li>
20-
<li>platform: IntelliJ IDEA 2020.1</li>
18+
<li>platform: IntelliJ IDEA 2020.3</li>
2119
</ul>
2220
<a href="https://github.com/gregsh/Clojure-Kit/blob/master/CHANGELOG.md">Full change log...</a>
2321
]]>

0 commit comments

Comments
 (0)