add dependency plugin and check for android platform only