Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
#31: renamed unij-core to unij-api
Browse files Browse the repository at this point in the history
  • Loading branch information
tlinkowski committed Mar 8, 2019
1 parent a4378d2 commit 679f497
Show file tree
Hide file tree
Showing 34 changed files with 31 additions and 31 deletions.
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package pl.tlinkowski.unij.core;
package pl.tlinkowski.unij.api;

import java.util.List;
import java.util.concurrent.TimeUnit;
Expand Down
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.core;
package pl.tlinkowski.unij.api;

import java.util.List;
import java.util.stream.Collector;
Expand Down
Expand Up @@ -15,12 +15,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.core;
package pl.tlinkowski.unij.api;

import lombok.Getter;
import lombok.experimental.UtilityClass;

import pl.tlinkowski.unij.core.provider.UnmodifiableListFactory;
import pl.tlinkowski.unij.api.provider.UnmodifiableListFactory;

/**
* @author Tomasz Linkowski
Expand Down
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.core;
package pl.tlinkowski.unij.api;

import java.util.*;
import java.util.function.Function;
Expand All @@ -24,7 +24,7 @@
import lombok.experimental.UtilityClass;
import lombok.extern.slf4j.Slf4j;

import pl.tlinkowski.unij.core.annotation.UniJService;
import pl.tlinkowski.unij.api.annotation.UniJService;
import pl.tlinkowski.unij.exception.UniJException;

/**
Expand Down
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.core;
package pl.tlinkowski.unij.api;

import java.util.Collection;
import java.util.List;
Expand Down
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.core.annotation;
package pl.tlinkowski.unij.api.annotation;

import java.lang.annotation.*;

Expand Down
Expand Up @@ -20,5 +20,5 @@
*
* @author Tomasz Linkowski
*/
package pl.tlinkowski.unij.core.annotation;
package pl.tlinkowski.unij.api.annotation;

Expand Up @@ -16,11 +16,11 @@
* limitations under the License.
*/
/**
* Core UniJ classes and interfaces.
* UniJ API.
*
* @author Tomasz Linkowski
*/
@AllNonnullByDefault
package pl.tlinkowski.unij.core;
package pl.tlinkowski.unij.api;

import pl.tlinkowski.unij.annotation.AllNonnullByDefault;
import pl.tlinkowski.unij.annotation.AllNonnullByDefault;
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.core.provider;
package pl.tlinkowski.unij.api.provider;

import java.util.Collection;
import java.util.List;
Expand Down
Expand Up @@ -21,5 +21,5 @@
* @author Tomasz Linkowski
* @see java.util.ServiceLoader
*/
package pl.tlinkowski.unij.core.provider;
package pl.tlinkowski.unij.api.provider;

Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package pl.tlinkowski.unij.core
package pl.tlinkowski.unij.api

import spock.lang.Specification

Expand Down
Expand Up @@ -16,11 +16,11 @@
* limitations under the License.
*/

package pl.tlinkowski.unij.core
package pl.tlinkowski.unij.api

import spock.lang.Specification

import pl.tlinkowski.unij.core.annotation.UniJService
import pl.tlinkowski.unij.api.annotation.UniJService
import pl.tlinkowski.unij.exception.UniJException

/**
Expand Down
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package pl.tlinkowski.unij.core
package pl.tlinkowski.unij.api

import spock.lang.Specification

Expand Down
@@ -0,0 +1,2 @@
pl.tlinkowski.unij.api.UniJLoaderSpec$DifferentPriorityServiceImpl1
pl.tlinkowski.unij.api.UniJLoaderSpec$DifferentPriorityServiceImpl2
@@ -0,0 +1,2 @@
pl.tlinkowski.unij.api.UniJLoaderSpec$DuplicatePriorityServiceImpl1
pl.tlinkowski.unij.api.UniJLoaderSpec$DuplicatePriorityServiceImpl2
@@ -0,0 +1 @@
pl.tlinkowski.unij.api.UniJLoaderSpec$UnannotatedServiceImpl

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion subprojects/unij-eclipse/unij-eclipse.gradle
Expand Up @@ -18,7 +18,7 @@
javaRelease "8"

dependencies {
compile project(":unij-core")
compile project(":unij-api")
compileOnly group: "org.eclipse.collections", name: "eclipse-collections", version: "9.2.0"

testImplementation project(":unij-test")
Expand Down
2 changes: 1 addition & 1 deletion subprojects/unij-guava/unij-guava.gradle
Expand Up @@ -18,7 +18,7 @@
javaRelease "8"

dependencies {
compile project(":unij-core")
compile project(":unij-api")
compileOnly group: "com.google.guava", name: "guava", version: "27.0.1-android"

testImplementation project(":unij-test")
Expand Down
Expand Up @@ -22,8 +22,8 @@
import java.util.stream.Collector;
import java.util.stream.Collectors;

import pl.tlinkowski.unij.core.annotation.UniJService;
import pl.tlinkowski.unij.core.provider.UnmodifiableListFactory;
import pl.tlinkowski.unij.api.annotation.UniJService;
import pl.tlinkowski.unij.api.provider.UnmodifiableListFactory;

/**
* Implementation of {@link UnmodifiableListFactory} that returns <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html#unmodifiable">unmodifiable
Expand Down
2 changes: 1 addition & 1 deletion subprojects/unij-jdk11/unij-jdk11.gradle
Expand Up @@ -18,7 +18,7 @@
javaRelease "11"

dependencies {
compile project(":unij-core")
compile project(":unij-api")

testImplementation project(":unij-test")
}
2 changes: 1 addition & 1 deletion subprojects/unij-jdk8/unij-jdk8.gradle
Expand Up @@ -18,7 +18,7 @@
javaRelease "8"

dependencies {
compile project(":unij-core")
compile project(":unij-api")

testImplementation project(":unij-test")
}
Expand Up @@ -18,7 +18,7 @@

package pl.tlinkowski.unij.test.provider

import pl.tlinkowski.unij.core.provider.UnmodifiableListFactory
import pl.tlinkowski.unij.api.provider.UnmodifiableListFactory
import spock.lang.Shared
import spock.lang.Specification

Expand Down
2 changes: 1 addition & 1 deletion subprojects/unij-test/unij-test.gradle
Expand Up @@ -18,7 +18,7 @@
javaRelease "11"

dependencies {
compile project(":unij-core")
compile project(":unij-api")
compile group: "org.slf4j", name: "slf4j-simple", version: slf4jVersion

compile group: "org.codehaus.groovy", name: "groovy-all", version: "2.5.6"
Expand Down

0 comments on commit 679f497

Please sign in to comment.