build.gradle 1.09 KB
Newer Older
1
apply plugin: 'org.springframework.boot'
Gradl, Tobias's avatar
Gradl, Tobias committed
2

Gradl, Tobias's avatar
Gradl, Tobias committed
3
dependencies {
4
	implementation project(':dariahsp-core')
5
	implementation 'org.springframework.boot:spring-boot-starter-web'
Gradl, Tobias's avatar
Gradl, Tobias committed
6
	implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
7
	implementation "javax.servlet:jstl"
8
9
10
	
	//providedCompile "javax.servlet:javax.servlet-api"
	//providedCompile "javax.servlet.jsp:javax.servlet.jsp-api:$jspApiVersion"
11
    
Gradl, Tobias's avatar
Gradl, Tobias committed
12
13
14
	compileOnly 'org.projectlombok:lombok'
	developmentOnly 'org.springframework.boot:spring-boot-devtools'
	annotationProcessor 'org.projectlombok:lombok'
15
	//providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
Gradl, Tobias's avatar
Gradl, Tobias committed
16
17
	
	
18
19
	testImplementation librarySets.commonTest
	testImplementation('org.springframework.boot:spring-boot-starter-test') {
Gradl, Tobias's avatar
Gradl, Tobias committed
20
		exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
21
	}
Gradl, Tobias's avatar
Gradl, Tobias committed
22
}
23
24

bootJar {
25
26
   enabled = true
   mainClassName = 'eu.dariah.de.dariahsp.sample.SampleApplication'
Gradl, Tobias's avatar
Gradl, Tobias committed
27
28
29
30
31
32
33
34
35
36
}

publishing {
    publications {
        maven(MavenPublication) {
            artifact(bootJar) {}
            artifact(sourcesJar) {}
            artifact(javadocJar) {}
        }
    }
37
}