增加权限配置
diff --git a/build.gradle b/build.gradle
index 0e9b130..ead6122 100644
--- a/build.gradle
+++ b/build.gradle
@@ -16,24 +16,37 @@
     mavenCentral()
 }
 
+war {
+    baseName = "payapi-service"
+    manifest {
+        attributes('Payapi-Version': rootProject.version)
+        writeTo(project.buildDir + "/classes/MATE-INF.MF")
+    }
+}
+
 dependencies {
     implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
     implementation 'org.springframework.boot:spring-boot-starter-web'
     implementation 'org.springframework.boot:spring-boot-starter-security'
+    implementation 'org.springframework.security:spring-security-oauth2-client'
+    implementation 'org.springframework.security:spring-security-oauth2-jose'
     implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
     implementation 'org.jetbrains.kotlin:kotlin-reflect'
     implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
-    providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
-    testImplementation 'org.springframework.boot:spring-boot-starter-test'
 
-    implementation group: 'com.sun.jersey', name: 'jersey-client', version:'1.19'
+    implementation 'org.postgresql:postgresql:42.2.5'
+    implementation 'com.jcabi:jcabi-manifests:1.1'
+    implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
+    implementation group: 'com.sun.jersey', name: 'jersey-client', version: '1.19'
     implementation group: 'javax.servlet', name: 'jstl', version: '1.2'
     implementation group: 'taglibs', name: 'standard', version: '1.1.2'
     implementation group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1'
     implementation group: 'log4j', name: 'log4j', version: '1.2.16'
-    implementation files ('libs/ojdbc6.jar')
+    implementation files('libs/ojdbc6.jar')
 
-    implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
+
+    providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
+    testImplementation 'org.springframework.boot:spring-boot-starter-test'
 }
 
 compileKotlin {