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.
52 lines
1.3 KiB
52 lines
1.3 KiB
buildscript { |
|
ext { |
|
springIOVersion = '1.0.0.RELEASE' |
|
springBootVersion = '2.2.6.RELEASE' |
|
} |
|
repositories { |
|
jcenter() |
|
mavenCentral() |
|
maven { url "http://repo.spring.io/release" } |
|
maven { url "http://repo.spring.io/milestone" } |
|
maven { url "http://repo.spring.io/snapshot" } |
|
maven { url "https://plugins.gradle.org/m2/" } |
|
} |
|
dependencies { |
|
classpath "io.spring.gradle:dependency-management-plugin:${springIOVersion}" |
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}" |
|
} |
|
} |
|
|
|
plugins { |
|
id 'java' |
|
id 'idea' |
|
id 'java-library' |
|
id 'maven-publish' |
|
} |
|
|
|
apply plugin: 'org.springframework.boot' |
|
apply plugin: 'io.spring.dependency-management' |
|
|
|
|
|
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' |
|
compile 'org.springframework.boot:spring-boot-starter-web:2.2.6.RELEASE' |
|
testCompile group: 'junit', name: 'junit', version: '4.12' |
|
} |
|
|
|
jar { |
|
archivesBaseName = 'encryption-verify-tool' |
|
archiveVersion = '0.0.1' |
|
manifest { |
|
attributes "Manifest-Version": 1.0, |
|
'Main-Class': 'com.fr.password.Runner' |
|
} |
|
}
|
|
|