build.gradle 853 Bytes
Newer Older
Gradl, Tobias's avatar
Gradl, Tobias committed
1
plugins {
Gradl, Tobias's avatar
Gradl, Tobias committed
2
	id 'java-library'
Gradl, Tobias's avatar
Gradl, Tobias committed
3
4
5
6
7
}

description = 'dariahsp - core library'

dependencies {
8
9
10
11
12
	api "de.unibamberg.minf.core:core-metamodel:$coreVersion"
	api "org.pac4j:spring-security-pac4j:$springPac4jVersion"
	api "org.pac4j:spring-webmvc-pac4j:$webmvcPac4jVersion"
	api "org.pac4j:pac4j-saml:$pac4jVersion"
	api "org.pac4j:pac4j-http:$pac4jVersion"
Gradl, Tobias's avatar
Gradl, Tobias committed
13
	implementation "org.springframework:spring-webmvc"
Gradl, Tobias's avatar
Gradl, Tobias committed
14
15
16
17
	implementation "javax.servlet:javax.servlet-api:$servletApiVersion"
	
	compileOnly "org.projectlombok:lombok:$lombokVersion"
	annotationProcessor "org.projectlombok:lombok:$lombokVersion"
18
	
Gradl, Tobias's avatar
Gradl, Tobias committed
19
20
    testImplementation librarySets.commonTest
}
21
22
23

jar {
	enabled = true
Gradl, Tobias's avatar
Gradl, Tobias committed
24
25
26
27
28
29
30
31
32
33
}

publishing {
    publications {
        maven(MavenPublication) {
            from(components.java)
            artifact(sourcesJar) {}
            artifact(javadocJar) {}
        }
    }
34
}