Skip to content

Commit

Permalink
Android updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed May 23, 2023
1 parent ab916e4 commit ff58899
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Platforms/Android/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Platforms/Android/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Platforms/Android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Platforms/Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.0'
classpath "com.android.tools.build:gradle:7.1.3"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
21 changes: 18 additions & 3 deletions Platforms/Android/platformchannels/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ plugins {
apply plugin: 'maven-publish'

android {
compileSdk 31
compileSdk 33

defaultConfig {
minSdk 21
targetSdk 31
targetSdk 33

consumerProguardFiles "consumer-rules.pro"

aarMetadata {
minCompileSdk = 21
}
}

buildTypes {
Expand Down Expand Up @@ -59,16 +63,27 @@ afterEvaluate {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release
//from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.microsoft.dotnet'
artifactId = 'platform-channels'
version = '0.1'

afterEvaluate {
from components.release
}
}


}

repositories {
maven {
name = 'artifacts'
url = "${project.buildDir}/../../../../artifacts/maven"
}
}
}
}

Expand Down

0 comments on commit ff58899

Please sign in to comment.