build cleanup for cryotemp

This commit is contained in:
Alexander Nozik 2016-10-14 19:21:52 +03:00
parent 581dfbdd20
commit 6181407cd5
2 changed files with 9 additions and 14 deletions

View File

@ -9,6 +9,14 @@ version = "0.1.2";
//mainClassName = "inr.numass.readvac.Main" //mainClassName = "inr.numass.readvac.Main"
configurations {
compile.exclude module: 'groovy'
compile.exclude module: 'groovy-all'
compile.exclude module: 'shichimifx'
compile.exclude module: 'jssc'
compile.exclude module: 'zt-zip'
}
dependencies { dependencies {
// compile 'commons-cli:commons-cli:1.3' // compile 'commons-cli:commons-cli:1.3'
// compile 'de.jensd:shichimifx:1.0.5' // compile 'de.jensd:shichimifx:1.0.5'

View File

@ -1,7 +1,6 @@
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'groovy' apply plugin: 'groovy'
apply plugin: 'maven' apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'com.github.johnrengelman.shadow'
group = 'inr.numass' group = 'inr.numass'
version = '1.0.0' version = '1.0.0'
@ -15,23 +14,11 @@ configurations {
repositories { repositories {
jcenter() jcenter()
mavenCentral() mavenCentral()
maven { url "http://www.inr.ru/~nozik/maven2/" }
// mavenLocal()
} }
dependencies { dependencies {
// Adding dependencies here will add the dependencies to each subproject. // Adding dependencies here will add the dependencies to each subproject.
testCompile group: 'junit', name: 'junit', version:'4.+' testCompile group: 'junit', name: 'junit', version:'4.+'
deployerJars "org.apache.maven.wagon:wagon-ssh:2.8"
}
uploadArchives {
repositories.mavenDeployer {
configuration = configurations.deployerJars
repository(url: "scp://al20.inr.ru/home/nozik/public_html/maven2"){
authentication(userName: "nozik", privateKey: "C:\\Users\\darksnake\\Dropbox\\al20_private_key_openSSH")
}
}
} }
shadowJar { shadowJar {