mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
This reverts commit b22f01fcb9.
Reverted https://github.com/pytorch/pytorch/pull/153633 on behalf of https://github.com/malfet due to But libtorch build regressions are real, fbjni is still used for C++ builds ([comment](https://github.com/pytorch/pytorch/pull/153633#issuecomment-2884951805))
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)
|
|
}
|
|
}
|