mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
code_samples: 2020.3.4, Java11, Gradle plugin 1.1.4
This commit is contained in:
parent
3917ba6a35
commit
0d4c3d1331
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -2,14 +2,14 @@
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.5.21'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -21,7 +21,7 @@ dependencies {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -30,13 +30,13 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
}
|
||||
compileTestKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.1.0'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.1.0'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
@ -26,6 +26,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
}
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
@ -26,6 +26,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
}
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '1.0.0'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -32,7 +32,7 @@ dependencies {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
@ -42,6 +42,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
}
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.jetbrains.intellij' version '1.1.2'
|
||||
id 'org.jetbrains.intellij' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -16,7 +16,7 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2.4'
|
||||
version = '2020.3.4'
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
@ -25,6 +25,6 @@ buildSearchableOptions {
|
||||
|
||||
patchPluginXml {
|
||||
version = project.version
|
||||
sinceBuild = '202'
|
||||
untilBuild = '203.*'
|
||||
sinceBuild = '203'
|
||||
untilBuild = '212.*'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user