Browse Source

Pull request #2051: 无JIRA任务 chore: 同步fine-third的feature/10.0到research/10.0

Merge in CORE/base-third from ~CLOUD.LIU/base-third:research/10.0 to research/10.0

* commit '1db2fd489450dbafae7f9007a353d46a806cf48f':
  无JIRA任务 chore: 同步fine-third的feature/10.0到research/10.0
research/10.0
Cloud.Liu 4 years ago
parent
commit
45a731511b
  1. 2
      build.third_step0.gradle
  2. 6
      build.third_step1.gradle
  3. 4
      build.third_step2.gradle
  4. 4
      build.third_step3.gradle
  5. 4
      build.third_step4.gradle
  6. 4
      build.third_step5.gradle
  7. 4
      build.third_step6.gradle
  8. 4
      build.third_step7.gradle
  9. 4
      build.third_step8.gradle
  10. 6
      fine-hibernate/pom.xml

2
build.third_step0.gradle

@ -96,6 +96,7 @@ dependencies {
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }
publishing { publishing {
publications { publications {
third(MavenPublication) { third(MavenPublication) {
@ -137,6 +138,7 @@ publishing {
} }
} }
afterEvaluate { afterEvaluate {
tasks.withType(PublishToMavenRepository) { task -> tasks.withType(PublishToMavenRepository) { task ->
if (task.publication.hasProperty('repo') && task.publication.repo != task.repository.name) { if (task.publication.hasProperty('repo') && task.publication.repo != task.repository.name) {

6
build.third_step1.gradle

@ -74,7 +74,7 @@ sourceSets{
} }
sourceSets.main.java.outputDir = file('build/classes/1') sourceSets.main.output.classesDir = file('build/classes/1')
repositories{ repositories{
mavenCentral() mavenCentral()
maven { url "http://mvn.finedevelop.com/repository/maven-public/" } maven { url "http://mvn.finedevelop.com/repository/maven-public/" }
@ -84,7 +84,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
// //
dependencies{ dependencies{
@ -112,6 +112,8 @@ def dataContent ={def dir ->
} }
task copyFiles(type:Copy,dependsOn:'compileJava'){ task copyFiles(type:Copy,dependsOn:'compileJava'){
copy{ copy{
println "------------------------------------------------copyfiles" println "------------------------------------------------copyfiles"

4
build.third_step2.gradle

@ -51,7 +51,7 @@ sourceSets{
} }
sourceSets.main.java.outputDir = file('build/classes/2') sourceSets.main.output.classesDir = file('build/classes/2')
repositories{ repositories{
mavenCentral() mavenCentral()
maven { url "http://mvn.finedevelop.com/repository/maven-public/" } maven { url "http://mvn.finedevelop.com/repository/maven-public/" }
@ -61,7 +61,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
def indexV = branchName.indexOf( "%2F"); def indexV = branchName.indexOf( "%2F");
if(indexV != -1){ if(indexV != -1){

4
build.third_step3.gradle

@ -33,7 +33,7 @@ sourceSets{
} }
} }
sourceSets.main.java.outputDir = file('build/classes/3') sourceSets.main.output.classesDir = file('build/classes/3')
repositories{ repositories{
mavenCentral() mavenCentral()
@ -44,7 +44,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
def indexV = branchName.indexOf( "%2F"); def indexV = branchName.indexOf( "%2F");
if(indexV != -1){ if(indexV != -1){

4
build.third_step4.gradle

@ -33,7 +33,7 @@ sourceSets{
} }
sourceSets.main.java.outputDir = file('build/classes/4') sourceSets.main.output.classesDir = file('build/classes/4')
repositories{ repositories{
mavenCentral() mavenCentral()
@ -44,7 +44,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
def indexV = branchName.indexOf( "%2F"); def indexV = branchName.indexOf( "%2F");
if(indexV != -1){ if(indexV != -1){

4
build.third_step5.gradle

@ -33,7 +33,7 @@ sourceSets{
} }
sourceSets.main.java.outputDir = file('build/classes/5') sourceSets.main.output.classesDir = file('build/classes/5')
repositories{ repositories{
mavenCentral() mavenCentral()
@ -44,7 +44,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
def indexV = branchName.indexOf( "%2F"); def indexV = branchName.indexOf( "%2F");
if(indexV != -1){ if(indexV != -1){

4
build.third_step6.gradle

@ -31,7 +31,7 @@ sourceSets{
} }
} }
sourceSets.main.java.outputDir = file('build/classes/6') sourceSets.main.output.classesDir = file('build/classes/6')
repositories{ repositories{
mavenCentral() mavenCentral()
@ -42,7 +42,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
def indexV = branchName.indexOf( "%2F"); def indexV = branchName.indexOf( "%2F");
if(indexV != -1){ if(indexV != -1){

4
build.third_step7.gradle

@ -31,7 +31,7 @@ sourceSets{
} }
} }
sourceSets.main.java.outputDir = file('build/classes/7') sourceSets.main.output.classesDir = file('build/classes/7')
repositories{ repositories{
mavenCentral() mavenCentral()
@ -42,7 +42,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build*.gradle') FileTree files =fileTree(dir:'./',include:'build*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
def indexV = branchName.indexOf( "%2F"); def indexV = branchName.indexOf( "%2F");
if(indexV != -1){ if(indexV != -1){

4
build.third_step8.gradle

@ -32,7 +32,7 @@ sourceSets{
} }
} }
sourceSets.main.java.outputDir = file('build/classes/8') sourceSets.main.output.classesDir = file('build/classes/8')
repositories{ repositories{
mavenCentral() mavenCentral()
@ -43,7 +43,7 @@ repositories{
FileTree files =fileTree(dir:'./',include:'build*.gradle') FileTree files =fileTree(dir:'./',include:'build*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator)) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.separator))
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
// def MVN_BRANCH = branchVariable.toUpperCase() def MVN_BRANCH = branchVariable.toUpperCase()
def indexV = branchName.indexOf( "%2F"); def indexV = branchName.indexOf( "%2F");
if(indexV != -1){ if(indexV != -1){

6
fine-hibernate/pom.xml

@ -15,12 +15,6 @@
<version>${revision}</version> <version>${revision}</version>
<dependencies> <dependencies>
<dependency>
<groupId>com.fr.essential</groupId>
<artifactId>fine-antlr-old</artifactId>
<version>${essential-version}</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>com.fr.third</groupId> <groupId>com.fr.third</groupId>
<artifactId>fine-jboss-logging</artifactId> <artifactId>fine-jboss-logging</artifactId>

Loading…
Cancel
Save