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.
28 lines
598 B
28 lines
598 B
4 years ago
|
plugins {
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
group 'org.example'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compile group: 'cn.hutool', name: 'hutool-all', version: '5.4.2'
|
||
|
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.66'
|
||
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||
|
}
|
||
|
|
||
|
jar {
|
||
|
archivesBaseName = 'password-generator'
|
||
|
archiveVersion = '0.0.1'
|
||
|
manifest {
|
||
|
attributes 'Main-Class': 'com.fr.password.tool.Runner'
|
||
|
}
|
||
|
from {
|
||
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
||
|
}
|
||
|
}
|