This message was deleted.
# dependency-management
s
This message was deleted.
๐Ÿ†’ 4
๐Ÿค” 1
e
I want to try this, but it seems I canโ€™t find
1.10.1-SNAPSHOT
Copy code
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.autonomousapps.dependency-analysis:com.autonomousapps.dependency-analysis.gradle.plugin:1.10.1-SNAPSHOT')
  Searched in the following repositories:
    Gradle Central Plugin Repository
    MavenRepo
t
it's in the sonatype snapshots repo. my github has a wiki that explains how to get it
โœ… 1
e
Hey @tony I test it with one of our module, got couple of errors 1.
Copy code
java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.daemon.common.IncrementalCompilationOptions.<init>
This is happening on both kapt and compile tasks. We currently use Kotlin 1.5.32 2.
Copy code
line 19:27 extraneous input '(' expecting {'}', ID}
Can't fix dependencies for ':utils'
com.autonomousapps.exception.BuildScriptParseException: 1: extraneous input '(' expecting {'}', ID}
If this pointing to
build.gradle
parsing, line 19 is plain old
implementation fileTree(dir: 'libs', include: ['*.jar'])
t
For 2, the latest snapshot (which it appears you're using) bails out if it comes across a formulation it doesn't understand how to parse. I need to suppress the stacktraces, though; they can just be warnings. That said, I appreciate the heads-up. If you add that information to https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/pull/749, it makes it much more likely I'll remember to fix it ๐Ÿ™‚ For the first one, without digging in, it does seem likely it's some kind of binary incompatibility between Kotlin versions. My plugin currently uses Kotlin 1.6, the same version used by Gradle 7.5. I thought it set the api level to 1.4, though.