Extend Gradle Task

25
April 15, 2019, at 5:10 PM

Now in project i am using gradle plugin for hockeyapp.

I want to extend task from this plugin and change some logic. I declared class for my task in buildSrc folder.

Here my code:

class CustomHockeyAppUploadTask : HockeyAppUploadTask() {}

HockeyAppUploadTask is class that represents task from gradle plugin. The problem is that i can't access this task from my code.

Is it possible to do?

P.S: I am using kotlin dsl for gradle.

READ ALSO
How to fix “V/FA: Inactivity, disconnecting from the service”

How to fix “V/FA: Inactivity, disconnecting from the service”

I'm coding a game to play online throught the firestore serviceIt's a one to one game

41
How to add a FrameLayout in the footer of RecyclerView in the Fragment

How to add a FrameLayout in the footer of RecyclerView in the Fragment

I use the ListView and addFooterView to insert a FrameLayout in the Fragment, it's works!

6
How to navigate from contentView to fragment

How to navigate from contentView to fragment

I would like to know how to move from a ContentView to fragment

14
Build failed showing error “Attribute ”android:focusable“ was already specified for element ”EditText"

Build failed showing error “Attribute ”android:focusable“ was already specified for element ”EditText"

my code is not being build when trying to run it on device or emulator with the error Error:Attribute "android:focusable" was already specified for element "EditText"but it gradle build is successful

41