mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
briar-headless: Add command line arguments
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'net.ltgt.apt'
|
||||
id 'idea'
|
||||
id "org.jetbrains.kotlin.jvm" version "1.2.61"
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.2.61'
|
||||
id "org.jetbrains.kotlin.kapt" version "1.2.61"
|
||||
id 'witness'
|
||||
}
|
||||
apply from: 'witness.gradle'
|
||||
@@ -17,8 +17,8 @@ dependencies {
|
||||
implementation 'io.javalin:javalin:2.1.0'
|
||||
implementation 'org.slf4j:slf4j-simple:1.7.25'
|
||||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.6'
|
||||
implementation 'com.github.ajalt:clikt:1.5.0'
|
||||
|
||||
apt 'com.google.dagger:dagger-compiler:2.0.2'
|
||||
kapt 'com.google.dagger:dagger-compiler:2.0.2'
|
||||
|
||||
testImplementation project(path: ':bramble-api', configuration: 'testOutput')
|
||||
@@ -34,7 +34,7 @@ dependencies {
|
||||
jar {
|
||||
manifest {
|
||||
attributes(
|
||||
'Main-Class': 'org.briarproject.briar.headless.Main'
|
||||
'Main-Class': 'org.briarproject.briar.headless.MainKt'
|
||||
)
|
||||
}
|
||||
from {
|
||||
@@ -42,6 +42,15 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
// At the moment for non-Android projects we need to explicitly mark the code generated by kapt
|
||||
// as 'generated source code' for correct highlighting and resolve in IDE.
|
||||
idea {
|
||||
module {
|
||||
sourceDirs += file('build/generated/source/kapt/main')
|
||||
generatedSourceDirs += file('build/generated/source/kapt/main')
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
|
||||
Reference in New Issue
Block a user