mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
code samples: add gradle.properties to enable caching and defaults for use of Kotlin
This commit is contained in:
parent
952dcd552e
commit
dfcaad15ea
13
action_basics/gradle.properties
Normal file
13
action_basics/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
comparing_string_references_inspection/gradle.properties
Normal file
13
comparing_string_references_inspection/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
conditional_operator_intention/gradle.properties
Normal file
13
conditional_operator_intention/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
editor_basics/gradle.properties
Normal file
13
editor_basics/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
facet_basics/gradle.properties
Normal file
13
facet_basics/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
framework_basics/gradle.properties
Normal file
13
framework_basics/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
@ -1,10 +1,13 @@
|
|||||||
# Copyright 2000-2023 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-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
kotlin.code.style=official
|
|
||||||
|
|
||||||
# Opt-out flag for bundling Kotlin standard library.
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
# See https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library for details.
|
|
||||||
# suppress inspection "UnusedProperty"
|
|
||||||
kotlin.stdlib.default.dependency = false
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
kotlin.incremental.useClasspathSnapshot=false
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
||||||
|
13
live_templates/gradle.properties
Normal file
13
live_templates/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
max_opened_projects/gradle.properties
Normal file
13
max_opened_projects/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
module/gradle.properties
Normal file
13
module/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
product_specific/pycharm_basics/gradle.properties
Normal file
13
product_specific/pycharm_basics/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
project_model/gradle.properties
Normal file
13
project_model/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
project_view_pane/gradle.properties
Normal file
13
project_view_pane/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
project_wizard/gradle.properties
Normal file
13
project_wizard/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
psi_demo/gradle.properties
Normal file
13
psi_demo/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
run_configuration/gradle.properties
Normal file
13
run_configuration/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
settings/gradle.properties
Normal file
13
settings/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
simple_language_plugin/gradle.properties
Normal file
13
simple_language_plugin/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
tool_window/gradle.properties
Normal file
13
tool_window/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
13
tree_structure_provider/gradle.properties
Normal file
13
tree_structure_provider/gradle.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
|
||||||
|
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
|
||||||
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|
||||||
|
# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
|
||||||
|
kotlin.incremental.useClasspathSnapshot = false
|
||||||
|
|
||||||
|
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
|
||||||
|
org.gradle.configuration-cache = true
|
||||||
|
|
||||||
|
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
|
||||||
|
org.gradle.caching = true
|
Loading…
x
Reference in New Issue
Block a user