|
|
|
@ -49,12 +49,13 @@ sourceSets.main.output.classesDir = file('build/classes/6')
|
|
|
|
|
|
|
|
|
|
repositories{ |
|
|
|
|
mavenCentral() |
|
|
|
|
maven { url "http://mvn.finedevelop.com/repository/maven-public/" } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//获取什么分支名 |
|
|
|
|
FileTree files =fileTree(dir:'./',include:'build.*.gradle') |
|
|
|
|
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('/')) |
|
|
|
|
def branchName=buildDir.substring(buildDir.lastIndexOf ('/')+1) |
|
|
|
|
FileTree files =fileTree(dir:'./',include:'build*.gradle') |
|
|
|
|
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) |
|
|
|
|
|
|
|
|
|
//指定依赖 |
|
|
|
|
dependencies{ |
|
|
|
@ -65,7 +66,7 @@ dependencies{
|
|
|
|
|
compile fileTree(dir:"${srcDir}/fine-redisson/lib",include:'**/*.jar') |
|
|
|
|
compile fileTree(dir:"${srcDir}/fine-socketio/lib",include:'**/*.jar') |
|
|
|
|
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') |
|
|
|
|
compile fileTree(dir:"../../finereport-lib-base/${branchName}",include:'**/*.jar') |
|
|
|
|
compile "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" |
|
|
|
|
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') |
|
|
|
|
testCompile 'junit:junit:4.12' |
|
|
|
|
} |
|
|
|
|