-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 7.0.0 #45
Merged
Merged
Release 7.0.0 #45
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7e656c3
Update Android to 18.1.0
rlepinski 4454b13
Add log level privacy
rlepinski 1c2c55e
Fix java
rlepinski 78de253
Add hms wrapper to keep versioning simple in frameworks
rlepinski 1170e6d
Add SPM support
rlepinski baa371e
Simplify spm
rlepinski 7b43bc8
Android CI
rlepinski 75aa0a2
Fix
rlepinski ce6b5b5
Update SDK version
rlepinski 4a9e8c2
Fix SPM
rlepinski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,11 +1,2 @@ | ||
org.gradle.daemon=false | ||
org.gradle.parallel=false | ||
org.gradle.caching=false | ||
org.gradle.workers.max=1 | ||
|
||
org.gradle.jvmargs=-Xmx4G -XX:MaxPermSize=512m | ||
|
||
kapt.includeCompileClasspath=false | ||
|
||
kotlin.incremental=false | ||
kotlin.compiler.execution.strategy=in-process | ||
org.gradle.jvmargs=-Xmx4G |
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,36 @@ | ||
// swift-tools-version:5.9 | ||
|
||
// Copyright Airship and Contributors | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "AirshipFrameworkProxy", | ||
defaultLocalization: "en", | ||
platforms: [.macOS(.v10_15), .iOS(.v14), .tvOS(.v14), .visionOS(.v1)], | ||
products: [ | ||
.library( | ||
name: "AirshipFrameworkProxy", | ||
targets: ["AirshipFrameworkProxy"] | ||
) | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/urbanairship/ios-library.git", from: "18.5.0") | ||
], | ||
targets: [ | ||
.target( | ||
name: "AirshipFrameworkProxy", | ||
dependencies: [ | ||
.product(name: "AirshipCore", package: "ios-library"), | ||
.product(name: "AirshipMessageCenter", package: "ios-library"), | ||
.product(name: "AirshipPreferenceCenter", package: "ios-library"), | ||
.product(name: "AirshipAutomation", package: "ios-library"), | ||
.product(name: "AirshipFeatureFlags", package: "ios-library"), | ||
], | ||
path: "ios/AirshipFrameworkProxy", | ||
exclude: [ | ||
"AirshipFrameworkProxy.h" | ||
] | ||
) | ||
] | ||
) |
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 @@ | ||
/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,108 @@ | ||
plugins { | ||
alias libs.plugins.android.library | ||
id 'maven-publish' | ||
id 'signing' | ||
} | ||
|
||
group = 'com.urbanairship.android' | ||
description = "Airship Mobile Framework Proxy HMS" | ||
version = libs.versions.airshipProxy.get() | ||
|
||
android { | ||
namespace 'com.urbanairship.android.framework.proxy.hms' | ||
|
||
defaultConfig { | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
minSdkVersion rootProject.minSdkVersion | ||
targetSdkVersion rootProject.targetSdkVersion | ||
compileSdk rootProject.compileSdkVersion | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_17 | ||
targetCompatibility JavaVersion.VERSION_17 | ||
} | ||
|
||
testOptions { | ||
unitTests { | ||
includeAndroidResources = true | ||
returnDefaultValues = true | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
api(libs.airship.hms) | ||
} | ||
|
||
|
||
|
||
// Create the pom configuration: | ||
def pomConfig = { | ||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
distribution 'repo' | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
name 'Airship' | ||
} | ||
} | ||
|
||
scm { | ||
connection 'https://github.com/urbanairship/airship-mobile-framework-proxy.git' | ||
url 'https://github.com/urbanairship/airship-mobile-framework-proxy' | ||
} | ||
} | ||
|
||
publishing { | ||
publications { | ||
Production(MavenPublication) { | ||
groupId project.group | ||
artifactId project.name | ||
version project.version | ||
|
||
artifact("$buildDir/outputs/aar/" + project.name + "-release.aar") | ||
|
||
pom.withXml { | ||
def root = asNode() | ||
|
||
def dependenciesNode = root.appendNode('dependencies') | ||
configurations.implementation.allDependencies.each { | ||
def dependencyNode = dependenciesNode.appendNode('dependency') | ||
dependencyNode.appendNode('groupId', it.group) | ||
dependencyNode.appendNode('artifactId', it.name) | ||
dependencyNode.appendNode('version', it.version) | ||
} | ||
|
||
root.appendNode('description', project.description) | ||
root.appendNode('name', project.name) | ||
root.appendNode('url', 'https://airship.com') | ||
root.children().last() + pomConfig | ||
} | ||
} | ||
} | ||
} | ||
|
||
signing { | ||
// secretKey and password are required for signing. | ||
def secretKey = System.getenv("SIGNING_KEY") ?: findProperty("signing.key") | ||
def password = System.getenv("SIGNING_PASSWORD") ?: findProperty("signing.password") | ||
// keyId is optional. | ||
def keyId = System.getenv("SIGNING_KEY_ID") ?: findProperty("signing.keyId") | ||
if (secretKey != null) { | ||
required = true | ||
sign(publishing.publications) | ||
if (keyId != null) { | ||
useInMemoryPgpKeys(keyId, secretKey, password) | ||
} else { | ||
useInMemoryPgpKeys(secretKey, password) | ||
} | ||
} else { | ||
logger.info("Missing signing key! Signing will not be configured.") | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
android/airship-framework-proxy-hms/src/main/AndroidManifest.xml
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,7 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<application> | ||
|
||
</application> | ||
|
||
</manifest> |
1 change: 1 addition & 0 deletions
1
android/airship-framework-proxy-hms/src/test/resources/robolectric.properties
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 @@ | ||
sdk=28 |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont think we need this but if we know the replacement i can add it. @jyaganeh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be fine for now. It should only impact the team, and only when we're using IDEs smart enough to pull in the sources for docs. We can revisit if that ends up being a pain point.