Ah sorry… I didn’t fully read your question before answering. I’m guessing there’s a reason that the tasks weren’t added to the Gradle model on your Ubuntu box. Have you installed android studio or the android sdk?
For questions related to the android plugin you are best to go ask your questions on the android forums.