forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.0 KiB
60 lines
2.0 KiB
apply plugin: 'java' |
|
|
|
/** |
|
* 可以修改这个变量以依赖不同的开发版本 |
|
*/ |
|
def fineVersion = '10.0-FEATURE-SNAPSHOT' |
|
|
|
group = 'com.fanruan.api' |
|
version = '10.0' |
|
sourceCompatibility = '1.8' |
|
|
|
static def getDate() { |
|
def date = new Date() |
|
def formattedDate = date.format('yyyyMMdd') |
|
return formattedDate |
|
} |
|
|
|
jar { |
|
manifest{ |
|
attributes ("Manifest-Version" : "10.0", "Build" : getDate()) |
|
} |
|
baseName 'finekit' |
|
version archiveVersion.get() + "-" + getDate() |
|
} |
|
|
|
repositories { |
|
mavenLocal() |
|
maven { |
|
url = uri('http://mvn.finedevelop.com/repository/maven-public/') |
|
} |
|
|
|
maven { |
|
url = uri('http://repo.maven.apache.org/maven2') |
|
} |
|
} |
|
|
|
dependencies { |
|
implementation files("${System.getProperty('java.home')}/../lib/tools.jar") |
|
implementation 'com.fr.third:fine-third:' + fineVersion |
|
implementation 'com.fr.activator:fine-activator:' + fineVersion |
|
implementation 'com.fr.core:fine-core:' + fineVersion |
|
implementation 'com.fr.webui:fine-webui:' + fineVersion |
|
implementation 'com.fr.datasource:fine-datasource:' + fineVersion |
|
implementation 'com.fr.decision:fine-decision:' + fineVersion |
|
implementation 'com.fr.decision:fine-decision-report:' + fineVersion |
|
implementation 'com.fr.schedule:fine-schedule:' + fineVersion |
|
implementation 'com.fr.schedule:fine-schedule-report:' + fineVersion |
|
implementation 'com.fr.intelligence:fine-swift:' + fineVersion |
|
implementation 'com.fr.intelligence:fine-accumulator:' + fineVersion |
|
implementation 'com.fr.report:fine-report-engine:' + fineVersion |
|
implementation 'com.fr.report:fine-report-designer:' + fineVersion |
|
|
|
implementation 'org.slf4j:slf4j-api:1.7.30' |
|
implementation 'org.slf4j:slf4j-simple:1.7.30' |
|
testImplementation 'junit:junit:4.12' |
|
testImplementation 'org.easymock:easymock:3.5.1' |
|
testImplementation 'org.powermock:powermock-api-easymock:1.7.1' |
|
testImplementation 'org.powermock:powermock-module-junit4:1.7.1' |
|
testImplementation 'com.squareup.okhttp3:mockwebserver:4.0.1' |
|
}
|
|
|