afterEvaluate { project ->
    if (POM_PACKAGING == 'aar') {
        task headersJar(type: Jar) {
            archiveClassifier.set('headers')
            from("$rootDir/cxx/") {
                include '**/*.h'
            }
        }
        artifacts.add('archives', headersJar)
    }
}
