In my project I have several tasks in my build.gradle. I want those tasks to be independent while running. ie I need to run a single task from command line. But the command "gradle taskA" will run both taskA and taskB which I do not want. How to prevent a task being running?.
Here's a sample of what I am doing.
task runsSQL{
description 'run sql queries'
apply plugin: 'java'
apply plugin: 'groovy'
print 'Run SQL' }
task runSchema{
apply plugin: 'java'
apply plugin: 'groovy'
print 'Run Schema' }
Here's the output I'm getting.

gradlecommand. I can't findgradle.exeon my PC. I'm new to Android and Gradle build system. Where can I find the gradle executable? - Saeed Neamatigradlewif you don't have Gradle installed (most Gradle projects contain the wrappergradlew), otherwise you can install Gradle from the Gradle website. - ThePyroEagleapply plugin: 'java'andapply plugin: 'groovy'at the start of the file will work. - ThePyroEagle