forked from gazman-sdk/quadratic-sieve-Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (30 loc) · 738 Bytes
/
build.gradle
File metadata and controls
40 lines (30 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import proguard.gradle.ProGuardTask
buildscript {
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
classpath 'com.guardsquare:proguard-gradle:7.0.0'
}
}
plugins {
id 'java'
}
group 'com.gazman'
version '1.0'
dependencies {
// testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
manifest {
attributes 'Main-Class': 'com.gazman.quadratic_sieve.QuadraticSieve'
}
}
task optimize(type: ProGuardTask) {
configuration 'proguard.conf'
injars 'build/libs/QuadraticSieve-1.0.jar'
outjars 'build/libs/QuadraticSieve-shrinked-1.0.jar'
libraryjars new File('C:\\Users\\godil\\.jdks\\openjdk-14.0.2\\jmods').listFiles()
}