Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions packages/network_info_plus/network_info_plus/android/build.gradle

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
group = "dev.fluttercommunity.plus.network_info"
version = "1.0-SNAPSHOT"

buildscript {
val kotlinVersion = "2.2.0"

repositories {
google()
mavenCentral()
}

dependencies {
classpath("com.android.tools.build:gradle:8.12.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}

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

plugins {
id("com.android.library")
id("kotlin-android")
}

kotlin {
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
}
}

android {
namespace = "dev.fluttercommunity.plus.network_info"
compileSdk = flutter.compileSdkVersion

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

defaultConfig {
minSdk = 19
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

lint {
disable.add("InvalidPackage")
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "network_info_plus"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
plugins {
id("com.android.application")
id("dev.flutter.flutter-gradle-plugin")
}

android {
namespace = "dev.fluttercommunity.plus.network_info_plus_example"
compileSdk = flutter.compileSdkVersion

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

defaultConfig {
applicationId = "dev.fluttercommunity.plus.network_info_plus_example"
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

lint {
disable.add("InvalidPackage")
}

buildTypes {
release {
signingConfig = signingConfigs.getByName("debug")
}
}
}

flutter {
source = "../.."
}

dependencies {
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
allprojects {
repositories {
google()
mavenCentral()
}
}

val newBuildDir: Directory =
rootProject.layout.buildDirectory
.dir("../../build")
.get()
rootProject.layout.buildDirectory.value(newBuildDir)

subprojects {
val newSubProjectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubProjectBuildDir)
}

subprojects {
project.evaluationDependsOn(":app")
}

tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pluginManagement {
val flutterSdkPath =
run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}

includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")

repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}

plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.12.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.0" apply false
}

include(":app")
Loading