-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
69 changed files
with
280 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
### 该问题是怎么引起的? | ||
|
||
|
||
|
||
### 重现步骤 | ||
|
||
|
||
|
||
### 报错信息 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
### 内容说明(相关的Issue) | ||
|
||
|
||
|
||
### 变更内容 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,15 +31,15 @@ allprojects { | |
} | ||
|
||
|
||
|
||
// 子模块配置 | ||
subprojects { | ||
apply plugin: 'java-library' | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'signing' | ||
apply plugin: "io.spring.dependency-management" | ||
|
||
tasks.withType(JavaCompile) { | ||
tasks.withType(JavaCompile).configureEach { | ||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:-serial" | ||
options.encoding = 'UTF-8' | ||
options.warnings = false | ||
} | ||
|
@@ -100,18 +100,19 @@ subprojects { | |
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
tasks.withType(JavaCompile) { | ||
tasks.withType(JavaCompile).configureEach { | ||
options.encoding = 'UTF-8' | ||
options.warnings = false | ||
options.deprecation = true | ||
options.compilerArgs += ["-parameters"] | ||
} | ||
|
||
tasks.withType(GenerateModuleMetadata) { | ||
tasks.withType(GenerateModuleMetadata).configureEach { | ||
enabled = false | ||
} | ||
|
||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
tasks.register('sourcesJar', Jar) { | ||
dependsOn classes | ||
archiveClassifier = 'sources' | ||
from sourceSets.main.allSource | ||
} | ||
|
@@ -123,22 +124,22 @@ subprojects { | |
author true | ||
version true | ||
failOnError false | ||
links "http://docs.oracle.com/javase/8/docs/api" | ||
links "https://docs.oracle.com/javase/8/docs/api" | ||
} | ||
} | ||
|
||
tasks.withType(MavenPublication) { | ||
tasks.withType(MavenPublication).configureEach { | ||
doFirst { | ||
options.skipCertificateChecks = true | ||
} | ||
} | ||
|
||
task javadocJar(type: Jar) { | ||
tasks.register('javadocJar', Jar) { | ||
archiveClassifier = 'javadoc' | ||
from javadoc | ||
} | ||
|
||
tasks.whenTaskAdded { task -> | ||
tasks.configureEach { task -> | ||
if (task.name.contains('signMavenJavaPublication')) { | ||
task.enabled = new File(project.property('signing.secretKeyRingFile') as String).isFile() | ||
} | ||
|
@@ -153,8 +154,8 @@ subprojects { | |
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl | ||
|
||
credentials { | ||
username = System.getenv("MAVEN_USERNAME") | ||
password = System.getenv("MAVEN_PASSWORD") | ||
username = "andto" | ||
password = "243194995" | ||
} | ||
} | ||
} | ||
|
@@ -191,22 +192,10 @@ subprojects { | |
email = '[email protected]' | ||
} | ||
} | ||
|
||
withXml { | ||
def root = asNode() | ||
root.dependencies.'*'.findAll { | ||
def d = it | ||
d.scope.text() == 'runtime' && project.configurations.findByName("implementation").allDependencies.find { dep -> | ||
dep.name == it.artifactId.text() | ||
}.each() { | ||
d.scope*.value = 'compile' | ||
d.appendNode('optional', true) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
signing { | ||
useInMemoryPgpKeys(System.getenv('GPG_SECRET'), System.getenv('GPG_PASSWORD')) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,8 @@ public interface ProcessModelParser { | |
|
||
/** | ||
* 流程缓存实现类 | ||
* | ||
* @return 流程缓存 | ||
*/ | ||
FlowCache getFlowCache(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.