plugins { id 'org.ysb33r.doxygen' version '0.2' id 'cpp' id 'maven-publish' } evaluationDependsOn(':hal') ext.shared = 'shared' ext.athena = 'athena' ext.simulation = 'sim' // Attempts to execute the doxygen command. If there is no exception, doxygen exists, so return true. If there's // an IOException, it doesn't exist, so return false ext.checkDoxygen = { try { 'doxygen'.execute() true } catch (IOException e) { false } } apply from: 'athena.gradle' if (hasProperty('makeSim')){ apply from: 'simulation.gradle' }