Gradle 排除传递依赖并仅包含在分类器中

时间:2021-03-26 05:49:44

标签: gradle

如何仅包含“核心”依赖项或排除其他所有内容?

configurations {
    all {
        exclude group: 'org.apache.hive', module: 'hive-exec'
        //include group: 'org.apache.hive', module: 'hive-exec', classifier: 'core'
    }
}

0 个答案:

没有答案
相关问题