Skip to content

Commit

Permalink
Рекомендации по обновлению build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
aakumykov committed Sep 24, 2024
1 parent f0240d0 commit 65e0ba4
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,25 +130,23 @@ android {
minifyEnabled !debuggable
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}

packagingOptions {
exclude '/lib/*/libavcodec.so'
exclude '/lib/*/libavformat.so'
exclude '/lib/*/libavutil.so'
exclude '/lib/*/libswresample.so'
exclude '/lib/*/libswscale.so'
exclude '/lib/*/libyuv.so'
exclude '/META-INF/*.version'
jniLibs {
excludes += ['/lib/*/libavcodec.so', '/lib/*/libavformat.so', '/lib/*/libavutil.so', '/lib/*/libswresample.so', '/lib/*/libswscale.so', '/lib/*/libyuv.so']
}
resources {
excludes += ['/META-INF/*.version']
}
}

lintOptions {
disable 'MissingTranslation', 'ValidFragment', 'ResourceType'
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lint {
disable 'MissingTranslation', 'ValidFragment', 'ResourceType'
}
}

dependencies {
Expand Down

0 comments on commit 65e0ba4

Please sign in to comment.