Skip to content

Commit

Permalink
Hide externally flandmark-platform needed dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
besidev committed Jan 19, 2024
1 parent 1105894 commit d56b57d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,6 @@ all while utilizing the same codebase.
<!-- since the platform related libraries are no more needed-->
<!-- <scope>compile</scope>-->
</dependency>

<!-- when running on desktop/device only-->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>flandmark-platform</artifactId>
<version>1.07-1.5.8</version>
<scope>runtime</scope>
</dependency>
</dependencies>
```

Expand All @@ -192,7 +184,6 @@ plugins {
dependencies {
implementation("one.jpro.platform:jpro-media:0.2.11-SNAPSHOT")
implementation "org.bytedeco:javacv-platform:1.5.9" // use compileOnly configuration when running/deploying with JPro
runtimeOnly 'org.bytedeco:flandmark-platform:1.07-1.5.8' // when running on desktop/device only
}
```

Expand Down
1 change: 0 additions & 1 deletion jpro-media/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ plugins {
dependencies {
implementation 'one.jpro.platform:jpro-media:0.2.11-SNAPSHOT'
runtimeOnly 'org.bytedeco:flandmark-platform:1.07-1.5.8' // when running on desktop/device only
// use compileOnly configuration when running/deploying with JPro,
// since the platform specific libraries are no more needed
Expand Down
2 changes: 1 addition & 1 deletion jpro-media/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {
dependencies {
implementation "com.sandec.jpro:jpro-webapi:$JPRO_VERSION"
compileOnly "org.bytedeco:javacv-platform:$JAVACV_VERSION"
runtimeOnly 'org.bytedeco:flandmark-platform:1.07-1.5.8'
api "org.slf4j:slf4j-api:$SLF4J_API_VERSION"
api "org.json:json:$JSON_VERSION"

testImplementation "org.testfx:testfx-junit5:$TESTFX_VERSION"
testImplementation "org.bytedeco:javacv-platform:$JAVACV_VERSION"
testRuntimeOnly 'org.bytedeco:flandmark-platform:1.07-1.5.8'
}

compileJava {
Expand Down
1 change: 0 additions & 1 deletion jpro-media/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ dependencies {

implementation "org.bytedeco:javacv-platform:$JAVACV_VERSION"
// compileOnly "org.bytedeco:javacv-platform:$JAVACV_VERSION" // when running on JPro
runtimeOnly 'org.bytedeco:flandmark-platform:1.07-1.5.8' // when running on desktop/device only
implementation "io.github.mkpaz:atlantafx-base:$ATLANTAFX_VERSION"
runtimeOnly "ch.qos.logback:logback-classic:$LOGBACK_VERSION"
}
Expand Down

0 comments on commit d56b57d

Please sign in to comment.