Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion modules/java_api/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
build_benchmark_app=false
build_java_samples=false
build_kotlin_samples=false
build_hello_query_device=false
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ sourceSets {
}
}
}
mainClassName = 'Main'

application {
mainClass = 'Main'
}

dependencies {
implementation rootProject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ sourceSets {
main.java.srcDirs = ['src/main/kotlin', '../common']
main.kotlin.srcDirs = ['src/main/kotlin', '../common']
}
mainClassName = 'Main'

application {
mainClass = 'Main'
}

dependencies {
implementation rootProject
Expand Down
5 changes: 4 additions & 1 deletion modules/java_api/samples/hello_query_device/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ sourceSets {
}
}
}
mainClassName = 'Main'

application {
mainClass = 'Main'
}

dependencies {
implementation rootProject
Expand Down
5 changes: 1 addition & 4 deletions modules/java_api/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
rootProject.name = 'openvino'

if (build_benchmark_app.toBoolean()) {
include 'samples:benchmark_app'
}
if (build_java_samples.toBoolean()) {
include 'samples:face_detection_java_sample', 'samples:face_detection_sample_async'
include 'samples:face_detection_java_sample'
}
if (build_kotlin_samples.toBoolean()) {
include 'samples:face_detection_kotlin_sample'
Expand Down
Loading