gradle.properties 1.2 KB

1234567891011121314151617181920212223242526
  1. #
  2. # Copyright 2019-2023 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/dev/LICENSE
  8. #
  9. kotlin.code.style=official
  10. # config
  11. kotlin.incremental.multiplatform=true
  12. 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
  13. org.gradle.parallel=true
  14. org.gradle.vfs.watch=true
  15. #kotlin.mpp.enableCompatibilityMetadataVariant=true
  16. systemProp.org.gradle.internal.publish.checksums.insecure=true
  17. gnsp.disableApplyOnlyOnRootProjectEnforcement=true
  18. mirai.android.target.api.level=21
  19. # Enable if you want to use mavenLocal for both Gradle plugin and project dependencies resolutions.
  20. systemProp.use.maven.local=false
  21. org.gradle.caching=true
  22. kotlin.mpp.enableCInteropCommonization=true
  23. kotlin.mpp.stability.nowarn=true
  24. kotlin.mpp.androidSourceSetLayoutVersion=2
  25. android.disableAutomaticComponentCreation=true
  26. android.useAndroidX=true