You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
plugins { |
|
id 'java' |
|
} |
|
|
|
group = 'de.srsoftware' |
|
version = '1.0-SNAPSHOT' |
|
|
|
repositories { |
|
mavenCentral() |
|
} |
|
|
|
dependencies { |
|
testImplementation platform('org.junit:junit-bom:5.10.0') |
|
testImplementation 'org.junit.jupiter:junit-jupiter' |
|
implementation project(':de.srsoftware.http') |
|
implementation project(':de.srsoftware.logging') |
|
implementation project(':de.srsoftware.oidc.api') |
|
implementation project(':de.srsoftware.oidc.backend') |
|
implementation project(':de.srsoftware.oidc.datastore.encrypted') |
|
implementation project(':de.srsoftware.oidc.datastore.file') |
|
implementation project(':de.srsoftware.oidc.web') |
|
implementation project(':de.srsoftware.utils') |
|
implementation 'org.json:json:20240303' |
|
|
|
} |
|
|
|
test { |
|
useJUnitPlatform() |
|
} |
|
|
|
task run(type: JavaExec) { |
|
group = "application" |
|
description = "Run the main class with JavaExecTask" |
|
classpath = sourceSets.main.runtimeClasspath |
|
mainClass = 'de.srsoftware.oidc.app.Application' |
|
args = ['--base','/home/srichter/workspace/LightOIDC/de.srsoftware.oidc.web/src/main/resources'] |
|
} |
|
|
|
jar { |
|
manifest { |
|
attributes "Main-Class": "de.srsoftware.oidc.app.Application" |
|
} |
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE |
|
from { |
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } |
|
} |
|
}
|
|
|