|
| 1 | +plugins { |
| 2 | + id 'com.android.application' |
| 3 | + id 'de.mannodermaus.android-junit5' |
| 4 | +} |
| 5 | + |
| 6 | +android { |
| 7 | + namespace = 'com.github.neboskreb.log4j2.examples.app' |
| 8 | + compileSdk = 35 |
| 9 | + |
| 10 | + defaultConfig { |
| 11 | + applicationId "com.github.neboskreb.log4j2.examples.app" |
| 12 | + minSdk = 27 |
| 13 | + targetSdk = 35 |
| 14 | + versionCode 1 |
| 15 | + versionName "1.0" |
| 16 | + |
| 17 | + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 18 | + } |
| 19 | + |
| 20 | + buildTypes { |
| 21 | + release { |
| 22 | + minifyEnabled false |
| 23 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 24 | + signingConfig = signingConfigs.debug |
| 25 | + } |
| 26 | + } |
| 27 | + |
| 28 | + compileOptions { |
| 29 | + sourceCompatibility JavaVersion.VERSION_17 |
| 30 | + targetCompatibility JavaVersion.VERSION_17 |
| 31 | + } |
| 32 | + |
| 33 | + dataBinding { |
| 34 | + enable = true |
| 35 | + } |
| 36 | + |
| 37 | + packagingOptions { |
| 38 | + exclude 'META-INF/DEPENDENCIES' |
| 39 | + exclude 'META-INF/LICENSE*' |
| 40 | + } |
| 41 | +} |
| 42 | + |
| 43 | +dependencies { |
| 44 | + implementation(project(":examples:lib")) |
| 45 | + implementation(project(":library")) |
| 46 | + |
| 47 | + implementation 'androidx.appcompat:appcompat:1.7.0' |
| 48 | +// implementation 'com.android.support:design:28.0.0' |
| 49 | + implementation 'com.google.android.material:material:1.12.0' |
| 50 | + |
| 51 | + // ==== Lombok |
| 52 | + //noinspection AnnotationProcessorOnCompilePath -- because Lombok annotations are contained in this package, so you get import errors without it |
| 53 | + compileOnly 'org.projectlombok:lombok:1.18.38' |
| 54 | + annotationProcessor 'org.projectlombok:lombok:1.18.38' |
| 55 | + // ==== /Lombok |
| 56 | + |
| 57 | + |
| 58 | + testImplementation platform('org.junit:junit-bom:5.12.2') |
| 59 | + testImplementation "org.junit.jupiter:junit-jupiter-api" |
| 60 | + testImplementation 'org.junit.jupiter:junit-jupiter' |
| 61 | + testImplementation 'org.junit.platform:junit-platform-launcher' |
| 62 | + |
| 63 | + |
| 64 | + androidTestImplementation 'androidx.test.ext:junit:1.2.1' |
| 65 | + androidTestImplementation platform('org.junit:junit-bom:5.12.2') |
| 66 | + androidTestImplementation "org.junit.jupiter:junit-jupiter-api" |
| 67 | + androidTestImplementation 'org.junit.jupiter:junit-jupiter' |
| 68 | + androidTestImplementation 'org.junit.platform:junit-platform-launcher' |
| 69 | +} |
0 commit comments