23 lines
509 B
Groovy
23 lines
509 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'idea'
|
|
}
|
|
def currVersion = "1.0.0"
|
|
ext.projectIds = ['group': 'org.bdware.sc.contractexample', 'version': currVersion]
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << '-Xlint:none'
|
|
options.compilerArgs << '-Xlint:deprecation' << "-Werror"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
project(':backend') {
|
|
group = "org.bdware.sc.example"
|
|
version = projectIds.version
|
|
repositories {
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
}
|
|
}
|