j2objcgradle / j2objcgradle.github.io

J2objc Gradle Support
2 stars 0 forks source link

How do I fix the dependency error on app:j2objcTestClassListing when I launch the ./gradlew command? #2

Open hydrolythe opened 3 years ago

hydrolythe commented 3 years ago

I wanted to check if you can build an Android Studio project with j2objc by making an exercise (you can find it here: https://j2objcgradle.github.io/basicquickstart.html ). At some point in the exercise I am supposed to run the

./gradlew j2objcBuild command in the bash shell, but then I get this error:

Could not determine the dependencies of task ':app:j2objcTestClassListing'.

No such property: javaSources for class: com.android.build.gradle.internal.variant.TestVariantData Is there a way to resolve this error?

kpgalligan commented 3 years ago

We haven't looked at J2objc for about 2.5 years, so we wouldn't be able to provide much support. I assume the android gradle plugin has changed significantly since we were actively working on the J2objc plugin. I'm really not even sure where the gradle plugin repo is at this point, although I'm sure it's archived somewhere.