Skip to content

Commit

Permalink
chore: android flutter plugin to use recommended plugin DSL (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago authored Jul 30, 2024
1 parent 55c3883 commit 41a3f4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,29 +1,18 @@
plugins {
id "com.android.library"
id "kotlin-android"
}

group '{{org_name.dotCase()}}'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

allprojects {
repositories {
google()
mavenCentral()
}
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
if (project.android.hasProperty("namespace")) {
namespace '{{org_name.dotCase()}}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
rootProject.name = '{{project_name.snakeCase()}}_android'

plugins {
id "com.android.library" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}

0 comments on commit 41a3f4f

Please sign in to comment.