-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No upload tasks showing after moving to build.gradle.kts #32
Comments
@oliviergauthier I'm also facing this same bug. @kingargyle did you ever find a workaround? |
@es0329 I extracted the DSL into it's own .gradle file, and include it as part of the scripts that need to use it. |
@kingargyle I also tried that to no avail. You give me hope though! I'll revisit when I'm able and share the specific error message. |
Alright so... with the Kotlin DSL the project builds but without tasks registered/found for this plugin. When I extract the config to a
I tried those suggestions, but no go. Commenting/uncommenting that |
I did eventually, move the source code to build locally as part of the buildSrc directory, but in general I kept the configuration as a standard gradle option. In the build.gradle.kts script that builds the source I do have a specified dependency on the android gradle tools. implementation("com.android.tools.build:gradle:3.5.3") Might need to make sure the depedency is on the class path when the build runs? |
After moving our builds to the Kotlin-DSL, the upload task is no longer being registered for the various build flavors.
The kotlin-dsl picks up the appcenter -> apps extensions, but I must use either a create("flavorName") or getByName("flavorName") to get the rest of the extensions configuration.
basically when I now run the: gradlew tasks
I get no entries for the appcenter plugin, where I did before the migration.
The text was updated successfully, but these errors were encountered: