-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (40 loc) · 1.7 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java application project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/7.2/userguide/building_java_projects.html
*/
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use JUnit Jupiter for testing.
testImplementation 'junit:junit:4.13.2'
// This dependency is used by the application.
implementation 'com.google.guava:guava:30.1.1-jre'
// This dependency is used by the application.
implementation 'com.google.guava:guava:30.1.1-jre'
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-security:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-jdbc:2.6.3'
implementation 'org.springframework.security:spring-security-oauth2-authorization-server:0.2.2'
implementation 'com.h2database:h2:2.1.210'
implementation 'org.springframework.security:spring-security-oauth2-jose:5.6.1'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.3'
testImplementation 'org.springframework.security:spring-security-test:5.6.1'
testImplementation 'net.sourceforge.htmlunit:htmlunit:2.57.0'
}
application {
// Define the main class for the application.
mainClass = 'sample.DefaultAuthorizationServerApplication'
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}