This repository has been archived by the owner on Feb 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (67 loc) · 1.81 KB
/
build.gradle
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
dependencies {
classpath 'net.sf.proguard:proguard-gradle:6.0.3'
}
}
plugins {
id 'com.typelead.eta' version '0.7.9'
id 'com.github.johnrengelman.shadow' version '2.0.3'
}
allprojects {
repositories {
mavenCentral()
}
}
compileTestEta.enabled = false
eta {
version = '0.8.6b3'
useSystemEta = true
etlasVersion = '1.6.0.0'
useSystemEtlas = true
}
compileEta {
options {
args = ['-Wall', '-fno-warn-safe', '-fno-warn-unsafe', '-fno-warn-implicit-prelude',
'-fno-warn-missing-import-lists', '-fno-warn-missing-local-sigs',
'-fno-warn-monomorphism-restriction', '-fno-warn-name-shadowing']
extensions {
OverloadedStrings
DataKinds
TypeOperators
TypeFamilies
FlexibleContexts
MultiParamTypeClasses
}
}
}
project.version = '1.0.0'
dependencies {
compile project(':dhall-model')
compile ('org.bouncycastle:bcprov-jdk15on:1.59')
compile eta('base:[4.5,5[')
compile eta('bytestring:[0.10,0.11[')
compile eta('containers:[0.5,0.6[')
compile eta('contravariant:[1.5,1.6[')
compile eta('cryptonite:[0.23,1.0[')
compile eta('dhall:[1.19.1,1.20[')
compile eta('dotgen:[0.4.2,0.5[')
compile eta('eta-java-interop:[0.1.5.0,0.1.6[')
compile eta('megaparsec:[6.1.1,7.1[')
compile eta('memory:[0.14,0.15[')
compile eta('lens-family-core:[1.0.0,1.3[')
compile eta('prettyprinter:[1.2.0.1,1.3[')
compile eta('scientific:[0.3.0.0,0.4[')
compile eta('serialise:[0.2.0.0,0.3[')
compile eta('text:[1.2,1.3[')
compile eta('transformers:[0.2.0.0,0.6[')
}
shadowJar {
zip64 = true
}
import proguard.gradle.ProGuardTask
task proJar(type: ProGuardTask) {
configuration defaultEtaProguardFile
configuration 'proguard.txt'
injars shadowJar.outputs
outjars "build/lib/dhall-eta-all-${project.version}.jar"
}