mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
This reverts commit 7ed377f5776578aec4a6a9bc4eeef221a6b80a77. Reverted https://github.com/pytorch/pytorch/pull/153656 on behalf of https://github.com/larryliu0820 due to Still being used internally so can't remove ([comment](https://github.com/pytorch/pytorch/pull/153656#issuecomment-2887665403))
12 lines
290 B
Groovy
12 lines
290 B
Groovy
afterEvaluate { project ->
|
|
if (POM_PACKAGING == 'aar') {
|
|
task headersJar(type: Jar) {
|
|
archiveClassifier.set('headers')
|
|
from("$rootDir/cxx/") {
|
|
include '**/*.h'
|
|
}
|
|
}
|
|
artifacts.add('archives', headersJar)
|
|
}
|
|
}
|