File tree Expand file tree Collapse file tree 3 files changed +104
-0
lines changed
Expand file tree Collapse file tree 3 files changed +104
-0
lines changed Original file line number Diff line number Diff line change 1+ plugins {
2+ id ' com.android.application'
3+ id ' de.mannodermaus.android-junit5'
4+ id ' org.jetbrains.kotlin.android'
5+ }
6+
7+ android {
8+ namespace = ' com.github.neboskreb.log4j2.examples.migration'
9+ compileSdk = 36
10+
11+ defaultConfig {
12+ applicationId " com.github.neboskreb.log4j2.examples.migration"
13+ minSdk = 26
14+ targetSdk = 36
15+ versionCode 1
16+ versionName " 1.0"
17+
18+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
19+ }
20+
21+ buildTypes {
22+ release {
23+ minifyEnabled false
24+ proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
25+ signingConfig = signingConfigs. debug
26+ }
27+ }
28+
29+ compileOptions {
30+ sourceCompatibility JavaVersion . VERSION_17
31+ targetCompatibility JavaVersion . VERSION_17
32+ }
33+
34+ dataBinding {
35+ enable = true
36+ }
37+
38+ packagingOptions {
39+ exclude ' META-INF/DEPENDENCIES'
40+ exclude ' META-INF/LICENSE*'
41+ }
42+ kotlinOptions {
43+ jvmTarget = ' 17'
44+ }
45+ }
46+
47+ dependencies {
48+ implementation(project(" :examples:migration-lib" ))
49+ implementation ' androidx.core:core-ktx:1.17.0'
50+ }
Original file line number Diff line number Diff line change 1+ plugins {
2+ id ' com.android.library'
3+ id ' de.mannodermaus.android-junit5'
4+ id ' org.jetbrains.kotlin.android'
5+ }
6+
7+ android {
8+ namespace = ' com.github.neboskreb.log4j2.examples.migration.lib'
9+ compileSdk = 36
10+
11+ defaultConfig {
12+ minSdk = 26
13+
14+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
15+ consumerProguardFiles " consumer-rules.pro"
16+ }
17+
18+ buildTypes {
19+ release {
20+ minifyEnabled false
21+ proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
22+ }
23+ }
24+
25+ packagingOptions {
26+ exclude ' META-INF/DEPENDENCIES'
27+ }
28+
29+ compileOptions {
30+ sourceCompatibility JavaVersion . VERSION_17
31+ targetCompatibility JavaVersion . VERSION_17
32+ }
33+ kotlinOptions {
34+ jvmTarget = ' 17'
35+ }
36+ }
37+
38+ dependencies {
39+ implementation ' androidx.core:core-ktx:1.17.0'
40+
41+
42+ testImplementation platform(' org.junit:junit-bom:5.12.2' )
43+ testImplementation ' org.junit.jupiter:junit-jupiter-api'
44+ testImplementation ' org.junit.jupiter:junit-jupiter'
45+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
46+
47+
48+ androidTestImplementation platform(' org.junit:junit-bom:5.12.2' )
49+ androidTestImplementation ' org.junit.jupiter:junit-jupiter-api'
50+ androidTestImplementation ' org.junit.jupiter:junit-jupiter'
51+ androidTestImplementation ' org.junit.platform:junit-platform-launcher'
52+ }
Original file line number Diff line number Diff line change @@ -29,3 +29,5 @@ include ':junit5'
2929include ' :migration'
3030include ' :examples:app'
3131include ' :examples:lib'
32+ include ' :examples:migration-app'
33+ include ' :examples:migration-lib'
You can’t perform that action at this time.
0 commit comments