简体   繁体   中英

How to install Aspose.Words for Java using Gradle

I am creating an application with Springboot that would merge fields and convert doc/docx to pdf. However, I am having an error in dependency when installing Aspose.Words for Java using Gradle. Is this the correct way on how to install it to my project? Here's what I added to my build.gradle file:

compile('com.aspose:aspose-words:20.5:jdk17')

Here's the error I got:

Could not resolve: com.aspose:aspose-words:20.5

You should specify Aspose.Words repository

 maven { url 'http://repository.aspose.com/repo/' }

Please see https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-words/20.5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM