-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
97 lines (85 loc) · 3.4 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
}
}
apply plugin: 'com.android.application'
repositories {
google()
jcenter()
maven {
url = "https://maven.paube.de"
}
}
android {
dataBinding.enabled = true
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "de.upb.codingpirates.battleships.android"
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName = project.version
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
pickFirst 'META-INF/**'
exclude '**/log4j2.xml'
}
}
dependencies {
//project intern dependencies
implementation(group: 'de.upb.codingpirates.battleships', name: 'network', version: project.network_version){
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'io.reactivex.rxjava2', module: 'rxjava'
exclude group: 'com.google.inject', module: 'guice'
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
}
implementation(group: 'de.upb.codingpirates.battleships', name: 'logic', version: project.logic_version) {
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
}
implementation(group: 'de.upb.codingpirates.battleships', name: 'client', version: project.client_version){
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'com.google.inject', module: 'guice'
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
}
implementation group: 'io.reactivex.rxjava2', name: 'rxandroid', version: '2.1.1'
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.0-alpha1'
implementation group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.3'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.0-alpha1'
implementation group: 'com.google.guava', name: 'guava', version: '28.1-android'
implementation group: 'org.roboguice', name: 'roboguice', version: '4.0.0'
//android dependencies
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "androidx.navigation:navigation-fragment:2.2.0"
implementation "androidx.navigation:navigation-ui:2.2.0"
implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "com.google.android.material:material:1.2.0-alpha04"
//test dependencies
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
}