Skip to content

Commit 4c3ecbc

Browse files
authored
Merge pull request #2 from unidev-platform/phantom-js
Phantom JS dependency
2 parents f51f39f + 1ad40f8 commit 4c3ecbc

File tree

6 files changed

+7
-49
lines changed

6 files changed

+7
-49
lines changed

apache-http-client/src/test/java/com/unidev/http/HttpClientTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
Copyright (c) 2018 Denis O <denis.o@linux.com>
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
*/
161
package com.unidev.http;
172

183
import static org.junit.jupiter.api.Assertions.assertNotNull;

apache-http-client/src/test/java/com/unidev/http/ProxyHTTPClientTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/*
2-
Copyright (c) 2018 Denis O <denis.o@linux.com>
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
*/
161
package com.unidev.http;
172

183
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;

phantom-js/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies {
2+
3+
api("com.unidev.platform:unidev-common:4.0.0")
4+
}

apache-http-client/src/main/java/com/unidev/httpclient/apache/PhantomJSClient.java renamed to phantom-js/src/main/java/com/unidev/httpclient/phantomjs/PhantomJSClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.unidev.httpclient.apache;
1+
package com.unidev.httpclient.phantomjs;
22

33
import com.unidev.platform.Processes;
44
import com.unidev.platform.model.ProcessToRun;

apache-http-client/src/test/java/com/unidev/http/PhantomJSClientTest.java renamed to phantom-js/src/test/java/com/unidev/httpclient/phantomjs/PhantomJSClientTest.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
1-
/*
2-
Copyright (c) 2018 Denis O <denis.o@linux.com>
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
*/
16-
package com.unidev.http;
1+
package com.unidev.httpclient.phantomjs;
172

183
import com.unidev.platform.Processes;
194
import com.unidev.httpclient.apache.PhantomJSClient;

settings.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
rootProject.name = 'unidev-http-client'
32

4-
include('ok-http', 'apache-http-client')
3+
include('ok-http', 'apache-http-client', 'phantom-js')

0 commit comments

Comments
 (0)