-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/automate-ossrh-release
- Loading branch information
Showing
27 changed files
with
598 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ jobs: | |
Copy-Item secring.gpg components/serialization/json/ -Verbose | ||
Copy-Item secring.gpg components/serialization/multipart/ -Verbose | ||
Copy-Item secring.gpg components/http/okHttp/ -Verbose | ||
Copy-Item secring.gpg components/bundle/ -Verbose | ||
shell: pwsh | ||
- name: Publish to local Maven cache | ||
run: ./gradlew --no-daemon publishToMavenLocal | ||
|
@@ -118,6 +119,7 @@ jobs: | |
Copy-Item secring.gpg components/serialization/json/ -Verbose | ||
Copy-Item secring.gpg components/serialization/multipart/ -Verbose | ||
Copy-Item secring.gpg components/http/okHttp/ -Verbose | ||
Copy-Item secring.gpg components/bundle/ -Verbose | ||
shell: pwsh | ||
- name: Publish to local Maven cache for validation | ||
run: ./gradlew --no-daemon publishToMavenLocal | ||
|
@@ -155,6 +157,8 @@ jobs: | |
run: ./gradlew --no-daemon :components:authentication:azure:$PUBLISH_TASK -PmavenCentralSnapshotArtifactSuffix="" | ||
- name: Publish Release okHttp | ||
run: ./gradlew --no-daemon :components:http:okHttp:$PUBLISH_TASK -PmavenCentralSnapshotArtifactSuffix="" | ||
- name: Publish Release bundle | ||
run: ./gradlew --no-daemon :components:bundle:$PUBLISH_TASK -PmavenCentralSnapshotArtifactSuffix="" | ||
- name: Release | ||
uses: anton-yurchenko/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
|
||
# Ignore Gradle build output directory | ||
build | ||
|
||
|
||
.settings | ||
.project | ||
.classpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.gradle | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:installLocation="auto" | ||
tools:ignore="UnusedAttribute"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
|
||
<supports-screens | ||
android:anyDensity="true" | ||
android:largeScreens="true" | ||
android:normalScreens="true" | ||
android:smallScreens="true" | ||
android:xlargeScreens="true" /> | ||
|
||
<application | ||
android:hardwareAccelerated="true" | ||
android:fullBackupContent="true" | ||
android:allowBackup="true" | ||
android:supportsRtl="true" | ||
tools:ignore="GoogleAppIndexingWarning"></application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
buildscript { | ||
repositories { | ||
google() | ||
gradlePluginPortal() | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } | ||
} | ||
|
||
dependencies { | ||
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.17.5" | ||
classpath "com.android.tools.build:gradle:8.5.1" | ||
classpath "com.github.ben-manes:gradle-versions-plugin:0.51.0" | ||
} | ||
} | ||
|
||
repositories { | ||
google() | ||
gradlePluginPortal() | ||
} | ||
|
||
apply plugin: "com.android.library" | ||
apply plugin: "com.github.ben-manes.versions" | ||
|
||
android { | ||
namespace "com.microsoft.kiota.bundle" | ||
compileSdkVersion 35 | ||
|
||
defaultConfig { | ||
versionCode 1 | ||
versionName "1.0" | ||
minSdkVersion 26 | ||
targetSdkVersion 35 | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
lintOptions { | ||
textOutput "stdout" | ||
checkAllWarnings true | ||
warningsAsErrors true | ||
disable "UnusedResources" // Unused will be removed on release | ||
disable "IconExpectedSize" // Using the material icons provided from Google | ||
disable "GoogleAppIndexingApiWarning" // We might want to index our app later | ||
disable "InvalidPackage" // Butterknife, Okio and Realm | ||
disable "ResourceType" // Annotation binding | ||
disable "GradleDependency" | ||
disable "NewerVersionAvailable" | ||
disable "DuplicatePlatformClasses" // xpp3 added by azure-identity | ||
} | ||
sourceSets { | ||
main { | ||
java.srcDirs = ['../src/main/java'] | ||
res.srcDirs = ['../src/main/java'] | ||
manifest.srcFile 'AndroidManifest.xml' | ||
} | ||
androidTest { | ||
setRoot '../src/test' | ||
} | ||
} | ||
} | ||
|
||
apply from: "../gradle/dependencies.gradle" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mavenArtifactId = microsoft-kiota-bundle |
Oops, something went wrong.