Skip to content

Commit 8982240

Browse files
committed
Adapt video project for ev3dev-lang-java plugin
1 parent d4888e7 commit 8982240

3 files changed

Lines changed: 19 additions & 10 deletions

File tree

video/build.gradle

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
1+
version = '0.3.0'
2+
13
repositories {
24
mavenCentral()
35
maven { url 'https://jitpack.io' }
46
}
57

68
dependencies {
7-
compile 'org.jcodec:jcodec:0.2.3'
8-
compile 'org.jcodec:jcodec-javase:0.2.3'
9+
compile('org.jcodec:jcodec:0.2.3')
10+
compile('org.jcodec:jcodec-javase:0.2.3')
911

10-
annotationProcessor("org.projectlombok:lombok:1.16.20")
12+
annotationProcessor('org.projectlombok:lombok:1.16.20')
1113
compileOnly("org.projectlombok:lombok:1.16.20")
1214
testCompileOnly("org.projectlombok:lombok:1.16.20")
15+
}
1316

17+
jar {
18+
manifest {
19+
attributes("Implementation-Title": "EV3Dev-lang-java / Video Samples",
20+
"Implementation-Version": project.version,
21+
"Implementation-Vendor": "Juan Antonio Breña Moral",
22+
"Main-Class": brick.pref.mainClass,
23+
"Class-Path": brick.getClassPath(true) )
24+
}
1425
}

video/config.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Subproject configuration
2+
brick.pref {
3+
// Main class //
4+
mainClass = "ev3dev.actuators.lcd.VideoTest"
5+
}

video/src/main/resources/META-INF/MANIFEST.MF

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)