0
我使用這個插件的Grails:如何從Grails插件更改jar版本?
http://grails.org/plugin/excel-export
其中使用Apache POI。我想更改它當前使用的Apache POI版本。我需要採取哪些措施來實現這一目標?
我使用這個插件的Grails:如何從Grails插件更改jar版本?
http://grails.org/plugin/excel-export
其中使用Apache POI。我想更改它當前使用的Apache POI版本。我需要採取哪些措施來實現這一目標?
當解析插件時,Grails提供排除某些依賴的能力。所以你可以在你的BuildConfig.groovy中做到這一點:
dependencies {
//version need to be replaced to the desired value
compile('org.apache.poi:poi:version')
compile('org.apache.poi:poi-ooxml:version')
}
plugins {
compile(":excel-export:0.1.7") {
//list of dependencies declared inside the plugin that will be ignored.
excludes 'poi', 'poi-ooxml'
}
}
'排除'poi','poi-ooxml'就足夠了我的親愛的朋友。 ;) – dmahapatro
哦,沒錯!我將編輯:-) –