gradle.properties 1.1 KB

123456789101112131415161718192021222324
  1. #
  2. # Copyright 2019-2021 Mamoe Technologies and contributors.
  3. #
  4. # 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
  5. # Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
  6. #
  7. # https://github.com/mamoe/mirai/blob/master/LICENSE
  8. #
  9. # style guide
  10. kotlin.code.style=official
  11. # config
  12. kotlin.incremental.multiplatform=true
  13. org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 --illegal-access=permit -Dkotlin.daemon.jvm.options=--illegal-access=permit --add-opens java.base/java.util=ALL-UNNAMED
  14. org.gradle.parallel=true
  15. org.gradle.vfs.watch=true
  16. kotlin.mpp.enableGranularSourceSetsMetadata=true
  17. kotlin.native.enableDependencyPropagation=false
  18. #kotlin.mpp.enableGranularSourceSetsMetadata=true
  19. systemProp.org.gradle.internal.publish.checksums.insecure=true
  20. gnsp.disableApplyOnlyOnRootProjectEnforcement=true
  21. # We may target 15 with Kotlin 1.5 IR
  22. mirai.android.target.api.level=24
  23. # Enable if you want to use mavenLocal for both Gradle plugin and project dependencies resolutions.
  24. systemProp.use.maven.local=false