plugins { alias(libs.plugins.android.fusedlibrary) `maven-publish` } androidFusedLibrary { namespace = "com.example.fusedlibrary" minSdk { version = release(21) } // If aarMetadata is not explicitly specified, // aar metadata will be generated based on dependencies. // aarMetadata { // minCompileSdk = 21 // minCompileSdkExtension = 1 // } } publishing { publications { register("release") { groupId = "my-company" artifactId = "my-fused-library" version = "1.0" from(components["fusedLibraryComponent"]) } } repositories { maven { name = "myrepo" url = uri(layout.buildDirectory.dir("repo")) } } } /*android { namespace = "com.cusc.map" compileSdk = 35 defaultConfig { minSdk = 29 version = "2.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles("consumer-rules.pro") } buildTypes { debug { isMinifyEnabled = false } release { isMinifyEnabled = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } } compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } buildFeatures { // dataBinding = true viewBinding = true } }*/ dependencies { // api(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar")))) include(project(":maplibs")) include(project(":mypubdep")) // Webview交互 include("com.github.lzyzsd:jsbridge:1.0.4") }