Browse Source

Optimize gradle properties

Him188 3 years ago
parent
commit
3bcdf9b640
2 changed files with 3 additions and 5 deletions
  1. 1 1
      buildSrc/src/main/kotlin/Versions.kt
  2. 2 4
      gradle.properties

+ 1 - 1
buildSrc/src/main/kotlin/Versions.kt

@@ -64,7 +64,7 @@ object Versions {
     const val junit = "5.7.2"
 
     const val yamlkt = "0.12.0"
-    const val intellijGradlePlugin = "1.5.3"
+    const val intellijGradlePlugin = "1.7.0"
 
     //    const val kotlinIntellijPlugin = "211-1.5.20-release-284-IJ7442.40" // keep to newest as kotlinCompiler
     const val intellij = "2022.1" // don't update easily unless you want your disk space -= 500MB

+ 2 - 4
gradle.properties

@@ -12,11 +12,8 @@ kotlin.incremental.multiplatform=true
 org.gradle.jvmargs=-Xmx7000m -Dfile.encoding=UTF-8 --illegal-access=permit -Dkotlin.daemon.jvm.options=--illegal-access=permit --add-opens java.base/java.util=ALL-UNNAMED
 org.gradle.parallel=true
 org.gradle.vfs.watch=true
-kotlin.mpp.enableGranularSourceSetsMetadata=true
 kotlin.native.binary.memoryModel=experimental
-kotlin.native.enableDependencyPropagation=false
 #kotlin.mpp.enableCompatibilityMetadataVariant=true
-#kotlin.mpp.enableGranularSourceSetsMetadata=true
 systemProp.org.gradle.internal.publish.checksums.insecure=true
 gnsp.disableApplyOnlyOnRootProjectEnforcement=true
 # We may target 15 with Kotlin 1.5 IR
@@ -25,4 +22,5 @@ mirai.android.target.api.level=24
 systemProp.use.maven.local=false
 org.gradle.caching=true
 kotlin.native.ignoreIncorrectDependencies=true
-kotlin.mpp.enableCInteropCommonization=true
+kotlin.mpp.enableCInteropCommonization=true
+kotlin.mpp.stability.nowarn=true