trycatchx / RocketX

🔥🔥 android 端编译加速插件🚀 动态识别未改动 module 并在编译流程中替换为 aar ,只编译改动模块,加速 Android apk 的编译速度。
861 stars 104 forks source link

不兼容Java8 #45

Closed Hynsn closed 2 years ago

Hynsn commented 2 years ago

Could not resolve all artifacts for configuration ':classpath'. Could not resolve io.github.trycatchx:rocketx:1.0.19. Required by: project : No matching variant of io.github.trycatchx:rocketx:1.0.19 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally but:

  • Variant 'apiElements' capability io.github.trycatchx:rocketx:1.0.19 declares a library, packaged as a jar, and its dependencies declared externally:
  • Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
  • Variant 'javadocElements' capability io.github.trycatchx:rocketx:1.0.19 declares a runtime of a component, and its dependencies declared externally:
  • Incompatible because this component declares documentation and the consumer needed a library
  • Other compatible attributes:
  • Doesn't say anything about its target Java version (required compatibility with Java 8)
  • Doesn't say anything about its elements (required them packaged as a jar)
  • Variant 'runtimeElements' capability io.github.trycatchx:rocketx:1.0.19 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
  • Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
  • Variant 'sourcesElements' capability io.github.trycatchx:rocketx:1.0.19 declares a runtime of a component, and its dependencies declared externally:
  • Incompatible because this component declares documentation and the consumer needed a library
  • Other compatible attributes:
  • Doesn't say anything about its target Java version (required compatibility with Java 8)
  • Doesn't say anything about its elements (required them packaged as a jar)
trycatchx commented 2 years ago

@Hynsn jdk1.8 的使用 classpath 'io.github.trycatchx:rocketx:1.0.17' jdk11 使用 classpath 'io.github.trycatchx:rocketx:1.0.19'

trycatchx commented 2 years ago

@Hynsn 下版本会做一个兼容的版本

trycatchx commented 2 years ago

@Hynsn 升级 classpath 'io.github.trycatchx:rocketx:1.0.20' 解决兼容 java8 和 java 11 问题

Hynsn commented 2 years ago

@Hynsn 升级 classpath 'io.github.trycatchx:rocketx:1.0.20' 解决兼容 java8 和 java 11 问题

大佬您好,我也在深圳工作,加了一下你QQ 请教一下编译优化的问题

trycatchx commented 2 years ago

@Hynsn README.md 扫微信进群