Skip to content

Commit 61f6d67

Browse files
🎉 preset asset 🔒
1 parent e73ca3d commit 61f6d67

36 files changed

+2340
-1548
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ tmp/
1313
*.bak
1414
*.swp
1515
*~.nib
16+
.env
17+
.env/
18+
.talismanrc
1619
local.properties
1720
.settings/
1821
.loadpath
@@ -191,7 +194,7 @@ Icon
191194
# Thumbnails
192195
._*
193196

194-
# ReadResource that might appear in the root of a volume
197+
# com.contentstack.utils.ReadResource that might appear in the root of a volume
195198
.DocumentRevisions-V100
196199
.fseventsd
197200
.Spotlight-V100

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/intellij-javadocs-4.0.1.xml

Lines changed: 204 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.talismanrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
threshold: medium
2+
3+
fileignoreconfig:
4+
- filename: src/test/resources/multiple_objects.json
5+
checksum: ed79f28cb208208eb667bc2796e3452a23675788475f697e6e397083c7675820
6+
- filename: .dccache
7+
checksum: eb5805d48728bf7aa6540e51dd6160f6171f108eae911cf575445e71323c1344
8+
- filename: src/test/resources/multiple_rich_text_content.json
9+
checksum: d776089b5453cf3b14153e220e96b2d35e93a5acaa6c1db1edfa365af0dfa17e
10+
- filename: src/main/java/com/contentstack/utils/presets/Constant.java
11+
checksum: 91c73c75cca7c7a84785f6b6e59e0631fbaacc824464b0edf801ceb373725292
12+
- filename: .idea/intellij-javadocs-4.0.1.xml
13+
checksum: 8f0ba8c3fcb3387b71258fdf6c5571b3f8665129751fc2a37a81679e43f83dbf
14+
- filename: src/main/java/com/contentstack/utils/presets/Preset.java
15+
checksum: cf778f3066be0a0943430b97f1d0c326bd10c0db48bf9cfb1bc242bf1acee24f
16+
- filename: src/main/java/com/contentstack/utils/Utils.java
17+
checksum: f9fc6b4e94e645b4befe527abff4a77d5585ff68f07b48ff7bb2c69ea1832b50

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To setup Utils SDK in your Java project, add the following dependency in the pom
1616
<dependency>
1717
<groupId>com.contentstack.sdk</groupId>
1818
<artifactId>util</artifactId>
19-
<version>latest</version>
19+
<version>{latest}</version>
2020
</dependency>
2121
```
2222

@@ -27,7 +27,7 @@ If you are using Contentstack Java SDK, then the Utils SDK is already imported i
2727
<dependency>
2828
<groupId>com.contentstack.sdk</groupId>
2929
<artifactId>java</artifactId>
30-
<version>latest</version>
30+
<version>{latest}</version>
3131
</dependency>
3232
```
3333

pom.xml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323
<surefire-report-plugin.version>2.22.0</surefire-report-plugin.version>
2424
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
2525
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
26-
<kotlin-test-junit.version>1.4.10</kotlin-test-junit.version>
27-
<junit.version>4.13.1</junit.version>
26+
<kotlin-test-junit.version>1.6.0</kotlin-test-junit.version>
27+
<junit.version>4.13.2</junit.version>
28+
<jsoup.version>1.14.3</jsoup.version>
29+
<json.simple.version>1.1.1</json.simple.version>
2830
<maven-site-plugin.version>3.3</maven-site-plugin.version>
2931
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
3032
<nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version>
@@ -86,6 +88,7 @@
8688
<groupId>org.jetbrains.kotlin</groupId>
8789
<artifactId>kotlin-stdlib-jdk8</artifactId>
8890
<version>${kotlin-test-junit.version}</version>
91+
<scope>compile</scope>
8992
</dependency>
9093
<dependency>
9194
<groupId>org.jetbrains.kotlin</groupId>
@@ -96,12 +99,26 @@
9699
<dependency>
97100
<groupId>org.jsoup</groupId>
98101
<artifactId>jsoup</artifactId>
99-
<version>1.14.2</version>
102+
<version>${jsoup.version}</version>
103+
<scope>compile</scope>
100104
</dependency>
101105
<dependency>
102106
<groupId>org.json</groupId>
103107
<artifactId>json</artifactId>
104-
<version>20180130</version>
108+
<version>20211205</version>
109+
<scope>compile</scope>
110+
</dependency>
111+
<dependency>
112+
<groupId>com.googlecode.json-simple</groupId>
113+
<artifactId>json-simple</artifactId>
114+
<version>${json.simple.version}</version>
115+
<scope>compile</scope>
116+
</dependency>
117+
<dependency>
118+
<groupId>org.apache.httpcomponents</groupId>
119+
<artifactId>httpclient</artifactId>
120+
<version>4.5.13</version>
121+
<scope>compile</scope>
105122
</dependency>
106123
</dependencies>
107124

@@ -236,20 +253,6 @@
236253
</configuration>
237254
</plugin>
238255

239-
<plugin>
240-
<groupId>org.jetbrains.kotlin</groupId>
241-
<artifactId>kotlin-maven-plugin</artifactId>
242-
<version>${kotlin-test-junit.version}</version>
243-
<executions>
244-
<execution>
245-
<id>compile</id>
246-
<phase>process-sources</phase>
247-
<goals>
248-
<goal>compile</goal>
249-
</goals>
250-
</execution>
251-
</executions>
252-
</plugin>
253256
</plugins>
254257
</build>
255258

0 commit comments

Comments
 (0)