Skip to content

Commit 5af03a0

Browse files
committed
Removing maven
1 parent 42769fc commit 5af03a0

26 files changed

+9
-56
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ parameters and explanations can be found [here](https://www.convertapi.com).
6666

6767
```java
6868
CompletableFuture<ConversionResult> result = ConvertApi.convert("pdf", "jpg", new Param[]{
69-
new Param("file", Paths.get("test-files/test.pdf")),
69+
new Param("file", Paths.get("test.pdf")),
7070
new Param("scaleimage", "true"),
7171
new Param("scaleproportions", "true"),
7272
new Param("imageheight", 300)
@@ -91,13 +91,11 @@ You can find more advanced examples in the [examples](https://github.com/Convert
9191
ConvertAPI is designed to make converting file super easy, the following snippet shows how easy it is to get started. Let's convert WORD DOCX file to PDF:
9292

9393
```java
94-
package com.convertapi.examples;
95-
9694
import com.convertapi.ConvertApi;
9795

9896
public class SimpleConversion {
9997
public static void main(String[] args) {
100-
ConvertApi.convert("test.docx", "result.pdf", "YOUR API SECRET");
98+
ConvertApi.convert("source.docx", "result.pdf", "YOUR API SECRET");
10199
}
102100
}
103101
```

convertapi-java.iml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3-
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
4-
<output url="file://$MODULE_DIR$/target/classes" />
5-
<output-test url="file://$MODULE_DIR$/target/test-classes" />
2+
<module type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
65
<content url="file://$MODULE_DIR$">
7-
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8-
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9-
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
6+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
107
<excludeFolder url="file://$MODULE_DIR$/.idea" />
11-
<excludeFolder url="file://$MODULE_DIR$/src/main/java/com/convertapi/examples" />
12-
<excludeFolder url="file://$MODULE_DIR$/src/main/java/com/convertapi/examples/test-files" />
13-
<excludeFolder url="file://$MODULE_DIR$/src/test" />
14-
<excludeFolder url="file://$MODULE_DIR$/target" />
8+
<excludeFolder url="file://$MODULE_DIR$/lib" />
9+
<excludeFolder url="file://$MODULE_DIR$/src/com/convertapi/examples" />
1510
</content>
1611
<orderEntry type="inheritedJdk" />
1712
<orderEntry type="sourceFolder" forTests="false" />
18-
<orderEntry type="library" name="Maven: com.squareup.okhttp3:okhttp:3.10.0" level="project" />
19-
<orderEntry type="library" name="Maven: com.squareup.okio:okio:1.14.0" level="project" />
20-
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.5" level="project" />
13+
<orderEntry type="library" exported="" name="lib" level="project" />
2114
</component>
2215
</module>

lib/gson-2.8.5.jar

236 KB
Binary file not shown.

lib/okhttp-3.10.0.jar

402 KB
Binary file not shown.

lib/okio-1.14.1.jar

83.8 KB
Binary file not shown.

pom.xml

Lines changed: 0 additions & 37 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)