This repository was archived by the owner on Aug 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 30
WIP - publish maven local #70
Closed
Closed
Changes from 4 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f5cc32d
publish maven local
4cd4e02
installing NDK on CI
dd903a0
set androidx/jetifier for AGP 3.6.x
24c0de0
rollback travis ndk
8e5aaa0
invert wrong comment
799947a
fix merge conflict
marandaneto d71f84f
bump agp to beta03
marandaneto dbd04b3
install ndk-bundle travis-ci
marandaneto 999e6ca
trying to set ndk envs
marandaneto 2db36e1
setting ndkVersion to ndk module
marandaneto 5d792f8
setting multiDexEnabled
marandaneto 3ee2414
set multiDexEnabled only sample app.
marandaneto 9100082
setting appveyor to use build gradle task
marandaneto 9cf46a8
disable jetifier
marandaneto 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,8 +1,12 @@ | ||
| # Daemon’s heap size | ||
| org.gradle.jvmargs=-Xms1g -Xmx1g -XX:MaxPermSize=512m -Dfile.encoding=UTF-8 | ||
| org.gradle.jvmargs=-Xms1g -Dkotlin.daemon.jvm.options\="-Xmx1536M" -Xmx1536M -XX\:MaxPermSize\=512m -Dfile.encoding\=UTF-8 | ||
|
|
||
| # Parallel execution | ||
| org.gradle.parallel=true | ||
|
|
||
| # Cacheable unit tests | ||
| android.testConfig.useRelativePath = true | ||
|
|
||
| # Migrating to AndroidX - AGP 3.6.x | ||
| android.useAndroidX=true | ||
| android.enableJetifier=true |
This file contains hidden or 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 hidden or 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 hidden or 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,5 +1,6 @@ | ||
| plugins { | ||
| id("com.android.library") | ||
| `maven-publish` | ||
| } | ||
|
|
||
| android { | ||
|
|
@@ -9,6 +10,9 @@ android { | |
| defaultConfig { | ||
| targetSdkVersion(Config.Android.targetSdkVersion) | ||
| minSdkVersion(Config.Android.minSdkVersionNdk) | ||
|
|
||
| // Required when setting minSdkVersion to 20 or lower | ||
| multiDexEnabled = true | ||
| } | ||
|
|
||
| compileOptions { | ||
|
|
@@ -28,3 +32,13 @@ dependencies { | |
| api(project(":sentry-android-core")) | ||
| api(project(":sentry-android-ndk")) | ||
| } | ||
|
|
||
| afterEvaluate { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you factor out the repeated publishing logic into the main |
||
| publishing { | ||
| publications { | ||
| register("release", MavenPublication::class) { | ||
| from(components["release"]) | ||
| } | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.