android grdle plugin 7.4.0

This commit is contained in:
tateisu 2023-01-27 00:54:04 +09:00
parent faa03b9368
commit c3a3234ea8
12 changed files with 32 additions and 25 deletions

View File

@ -10,6 +10,8 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'jp.juggler.apng'
defaultConfig {
targetSdkVersion target_sdk_version
minSdkVersion min_sdk_version

View File

@ -1 +1 @@
<manifest package="jp.juggler.apng" />
<manifest />

View File

@ -93,20 +93,20 @@ android {
}
packagingOptions {
// https://github.com/Kotlin/kotlinx.coroutines/issues/1064
pickFirst("META-INF/atomicfu.kotlin_module")
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
excludes += ['/META-INF/{AL2.0,LGPL2.1}', 'META-INF/DEPENDENCIES']
// https://github.com/Kotlin/kotlinx.coroutines/issues/1064
pickFirsts += ['META-INF/atomicfu.kotlin_module']
}
exclude 'META-INF/DEPENDENCIES'
}
useLibrary 'android.test.base'
useLibrary 'android.test.mock'
lintOptions {
lint {
warning 'DuplicatePlatformClasses'
}
namespace 'jp.juggler.subwaytooter'
}
static def gitBranch() {

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="jp.juggler.subwaytooter">
xmlns:tools="http://schemas.android.com/tools">
<queries>
<!-- (自アプリ以外で)指定URLを開けるアプリの存在確認 -->

View File

@ -39,7 +39,12 @@ android {
jvmTarget = "1.8"
}
packagingOptions {
exclude("META-INF/LICENSE*")
jniLibs {
excludes += ['META-INF/LICENSE*']
}
resources {
excludes += ['META-INF/LICENSE*']
}
}
}
@ -92,7 +97,7 @@ dependencies {
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$kotlinx_coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
api "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
api "ru.gildor.coroutines:kotlin-coroutines-okhttp:1.0"
// Koin main features for Android

View File

@ -39,10 +39,10 @@ buildscript {
}
dependencies {
classpath "com.android.tools.build:gradle:7.3.1"
classpath 'com.android.tools.build:gradle:7.4.0'
// room google-services
classpath "com.google.gms:google-services:4.3.14"
classpath "com.google.gms:google-services:4.3.15"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"

View File

@ -19,9 +19,6 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled true
}
lintOptions {
abortOnError false
}
kotlinOptions {
jvmTarget = jvm_target
@ -33,6 +30,10 @@ android {
//"-opt-in=androidx.compose.animation.ExperimentalAnimationApi",
]
}
lint {
abortOnError false
}
namespace 'com.jrummyapps.android.colorpicker'
}
dependencies {

View File

@ -1 +1 @@
<manifest package="com.jrummyapps.android.colorpicker"/>
<manifest />

View File

@ -26,4 +26,5 @@ android {
kotlinOptions {
jvmTarget = jvm_target
}
namespace 'jp.juggler.emoji'
}

View File

@ -1,3 +1 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="jp.juggler.emoji"
/>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />

View File

@ -28,12 +28,13 @@ android {
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
packagingOptions {
// https://github.com/Kotlin/kotlinx.coroutines/issues/1064
pickFirst("META-INF/atomicfu.kotlin_module")
resources {
pickFirsts += ['META-INF/atomicfu.kotlin_module']
}
}
kotlinOptions {
jvmTarget = jvm_target
freeCompilerArgs += [
@ -44,6 +45,7 @@ android {
// "-Xopt-in=androidx.compose.animation.ExperimentalAnimationApi",
]
}
namespace 'jp.juggler.apng.sample'
}
dependencies {

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="jp.juggler.apng.sample">
xmlns:tools="http://schemas.android.com/tools">
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"