25 lines
570 B
Groovy
25 lines
570 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'idea'
|
||
|
}
|
||
|
def currVersion = "0.1.0"
|
||
|
ext.projectIds = ['group': 'org.bdware.datanet.searchengine', 'version': currVersion]
|
||
|
sourceCompatibility = 1.8
|
||
|
|
||
|
tasks.withType(JavaCompile) {
|
||
|
options.compilerArgs << '-Xlint:none'
|
||
|
options.compilerArgs << '-Xlint:deprecation' << "-Werror"
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
project(':datanet-search-engine-backend') {
|
||
|
group = "org.bdware.datanet.searchengine"
|
||
|
version = projectIds.version
|
||
|
repositories {
|
||
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
||
|
}
|
||
|
}
|
||
|
|