58 lines
1.4 KiB
Groovy
Executable File
58 lines
1.4 KiB
Groovy
Executable File
group 'com.pichillilorenzo.flutter_inappwebview_android'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.0.1'
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
// Conditional for compatibility with AGP <4.2.
|
|
if (project.android.hasProperty("namespace")) {
|
|
namespace 'com.pichillilorenzo.flutter_inappwebview_android'
|
|
}
|
|
compileSdkVersion 33
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
consumerProguardFiles 'proguard-rules.pro'
|
|
}
|
|
lintOptions {
|
|
disable 'InvalidPackage'
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation 'androidx.webkit:webkit:1.8.0'
|
|
implementation 'androidx.browser:browser:1.6.0'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
}
|
|
}
|