Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
622 commits
Select commit Hold shift + click to select a range
74345ab
Correct more design decisions regarding ServerPlayer.
Zidane Jun 30, 2020
db801c8
[API-8] Add direction methods on Entity and Living (#2139)
ItsDoot Jul 1, 2020
dbe96c7
Someone did not remove the PluginProcessor reference from the ap...
gabizou Jul 1, 2020
dae2413
Swap slf4j for log4j. Downgrade guava due to MC dependencies
gabizou Jul 1, 2020
6fe899a
Dunno where this broke, but whatever
gabizou Jul 1, 2020
852ea04
add DataStore Builder
Faithcaio Jun 28, 2020
5fb221e
ServerPlayers are always in ServerWorlds
Faithcaio Jul 1, 2020
63d6a7d
[API-8] Adjust NamedCatalogType and NamedCatalogBuilder interfaces fo…
ItsDoot Jul 2, 2020
0732581
[API-8] Improve Tristate (#2137)
ItsDoot Jul 2, 2020
4f53e96
Remove non-existant feature configs in 1.14.4 and add Pillager Outpos…
i509VCB Jul 2, 2020
0bfc697
Add Entity Attribute api (#2085)
i509VCB Jul 2, 2020
6cbcc06
Remove HandInteractEvent and sub events (#2096)
ImMorpheus Jul 2, 2020
a4d6aa2
Updates to the Command API to support implementation (#2066)
dualspiral Jul 2, 2020
50ac9c5
Remove EconomyService#getCurrencies (#2143)
ImMorpheus Jul 2, 2020
d3d6da3
Add missed method from Parameter
dualspiral Jul 2, 2020
58c6085
Toss GameState, Transform (in events)
Zidane Jul 2, 2020
f7946fb
Really toss GameState.
Zidane Jul 2, 2020
7eaa238
Make licenser versioned based on requested or fill in licenser versio…
gabizou Jul 3, 2020
6faac9e
Javadoc GameState removal fixes.
Zidane Jul 3, 2020
56f15da
Fix resolving the licenser plugin.
Cybermaxke Jul 3, 2020
9400c46
Merge pull request #2147 from SpongePowered/fix-licenser
Cybermaxke Jul 3, 2020
a2b8bff
Add ExplosionEvent.Detonate#filterAffectedLocations
ItsDoot Jul 4, 2020
65a45e9
[API-8] Add Location#getBlockType (#2145)
ItsDoot Jul 4, 2020
d0d7f22
Add ScheduledTask#isCancelled (#2146)
ItsDoot Jul 4, 2020
c98ed6a
Merge Add ExplosionEvent.Detonate and other API additions. Merges #21…
gabizou Jul 4, 2020
099fb54
Delete CODEOWNERS
dualspiral Jul 5, 2020
5e40de7
Replace Service Manager with Provider (#2133)
dualspiral Jul 7, 2020
b63c414
Cleanup Sponge class
Zidane Jul 7, 2020
012dfd1
While Aaron fixes this, don't gen RegisterCommandEvent.
Zidane Jul 8, 2020
68c0fef
Add key which specifies if a player has viewed the credits (#2161)
i509VCB Jul 8, 2020
f76edbb
Add view-distance setter (#2155)
ImMorpheus Jul 8, 2020
a537d72
Add marker for classes that should not be stored (#2154)
ImMorpheus Jul 8, 2020
6aa99ec
Improve JoinData (#2153)
ImMorpheus Jul 8, 2020
c4cfac8
Don't generate the ProvideServiceEvent automatically.
dualspiral Jul 8, 2020
75ec550
Add Keys#TRANSIENT (#2162)
ImMorpheus Jul 8, 2020
51a3b89
Add a way to get all unique and virtual accounts from the economy se…
ImMorpheus Jul 8, 2020
70629b2
Rename ClientConnectionEvent to ServerSideConnectionEvent.
Zidane Jul 8, 2020
68c122e
CatalogKey -> ResourceKey.
Zidane Jul 8, 2020
1688980
Fix some javadocs.
Zidane Jul 8, 2020
638fdae
The CauseStack is per-engine thread.
Zidane Jul 9, 2020
36af22c
World knows of it's Engine.
Zidane Jul 9, 2020
14041cb
UserStorageService is no longer a UserManager.
Zidane Jul 9, 2020
033d829
Should not need a cause for this.
Zidane Jul 10, 2020
6ddca78
Add Starting/Started/StoppingEngine events.
Zidane Jul 10, 2020
4cbc862
Well define the registry events in the lifecycle.
Zidane Jul 10, 2020
3d6f4c8
Add lifecycle event for when the game is finished loading.
Zidane Jul 10, 2020
1ecc106
Correct ReloadGameEvent's name ot better reflect what it is, a refresh.
Zidane Jul 10, 2020
f30e5a2
Whoops..
Zidane Jul 10, 2020
bdecc19
Fix imports after renames
dualspiral Jul 10, 2020
e730402
Small context key cleanup.
Zidane Jul 11, 2020
b4e32ad
Tweaks to parameters
dualspiral Jul 4, 2020
2b1d1d7
Range parameters
dualspiral Jul 5, 2020
f235c12
Add VariableValueParameters#createValidatedStringParameter(Pattern pa…
dualspiral Jul 5, 2020
d248fc5
Add way to parse JSON to the ArgumentReader
dualspiral Jul 5, 2020
e75a195
Fix compile errors
dualspiral Jul 6, 2020
71a5e3d
Add notion of a "ClientCompletionType" to enable some specific comple…
dualspiral Jul 8, 2020
9c1bd14
Clarify JD
dualspiral Jul 9, 2020
8f06c45
Add peekString to argument reader
dualspiral Jul 9, 2020
2bd4b85
Slight change to parameter
dualspiral Jul 10, 2020
c68caf6
Get rid of unused imports.
dualspiral Jul 10, 2020
063f8d8
Add missing getter
dualspiral Jul 10, 2020
5ee082d
Remove some going to be unused functions
dualspiral Jul 10, 2020
5213414
Add mapping method to command manager
dualspiral Jul 11, 2020
5599fb1
Channel API Improvements + Client login phase (#2008)
Cybermaxke Jul 12, 2020
eda8c96
add inventory query overloads for suppliers
Faithcaio Jul 12, 2020
a7b51d7
Add reset to the registrar
dualspiral Jul 12, 2020
bcab130
add ViewableInventory builder type supplier overload
Faithcaio Jul 13, 2020
e722777
Some minor formatting fixes
gabizou Jul 14, 2020
2369118
Nothing to see here...
Zidane Jul 14, 2020
e6ffcf0
This needs to be generated
dualspiral Jul 14, 2020
1b6b06d
Add getEntities() to ServerWorld (to get all of them).
Zidane Jul 14, 2020
700291a
Cleanup. Toss current WGEN API.
Zidane Jul 14, 2020
145b551
Add streamAll method to UserManager (#2166)
ImMorpheus Jul 14, 2020
9cb3026
Minor lifecycle cleanup, require registry resource key when registering
Zidane Jul 15, 2020
7f2f8dc
Drop modifier templates. And remove attribute that was added in a lat…
i509VCB Jul 15, 2020
ccda97e
Remove Cause parameters from Account methods (#2169)
ImMorpheus Jul 15, 2020
646895b
Make generic ExplosionEvent cancellable (#2167)
ImMorpheus Jul 15, 2020
2aca0d1
Rename fields again to match registry names. (#2171)
i509VCB Jul 15, 2020
865dce3
Return generic type E extends Engine in EngineLifcycle event instead …
i509VCB Jul 15, 2020
23760f6
Do not generate Lifecycle/EngineLifecycle events.
Zidane Jul 15, 2020
2c62126
fix EquipmentTypes
Faithcaio Jul 15, 2020
9a839dd
fix QueryTypes
Faithcaio Jul 15, 2020
23081fe
This can accept nulls.
Zidane Jul 16, 2020
f572172
Remove ProviderRegistration, this was replaced by ServiceRegistration.
Cybermaxke Jul 16, 2020
97264d4
Add utility method for getting a live World from WorldProperties.
Zidane Jul 17, 2020
35532c5
Update UserManager and GameProfile method to return Streams
dualspiral Jul 15, 2020
7bfe843
RegisterCommandEvent now acts on commands, not registrars (specifically)
dualspiral Jul 18, 2020
10bfb76
Fix some keys, require plugin to register key listener.
Zidane Jul 18, 2020
54d497b
Fix a bunch of type tokens missing/named wrong.
Zidane Jul 18, 2020
55203e0
Add a bunch more type tokens used in common (but could be used anywhe…
Zidane Jul 18, 2020
e387857
Fixup some things I missed.
Zidane Jul 18, 2020
3cd58e1
OCD
Zidane Jul 19, 2020
2bdc0fe
fix Keys registration
Faithcaio Jul 19, 2020
053c7b8
fix EquipmentTypes registration
Faithcaio Jul 19, 2020
e5e99a6
Math field names for equipment types.
Zidane Jul 19, 2020
a266a80
Delegate all Subject calls from CommandCallable to underlying subject
dualspiral Jul 19, 2020
6cf92a5
Toss bounded values.
Zidane Jul 19, 2020
992ef50
Implement Adventure (#2180)
Jul 20, 2020
09c3d13
Redo some of the Parameter.Key generics
dualspiral Jul 20, 2020
da119d0
ServerWorlds can be defined via ResourceKeys.
Zidane Jul 21, 2020
46e3007
Some location fixes between World ResourceKeys and such
gabizou Jul 22, 2020
01fc0d8
Add command flags & ArgumentReader#parseResourceKey
dualspiral Jul 20, 2020
ad48b48
Fix for style, add type tokens
dualspiral Jul 25, 2020
cc5c584
Add exception handlers for the network channel. (#2183)
Cybermaxke Jul 26, 2020
6dd9e14
Create a SubjectProxy and separate CommandCause from CommandContext
dualspiral Jul 26, 2020
065bd3a
Support Adventure's HoverEventSource to remove some not-so-pretty met…
Jul 29, 2020
0e84cf7
Rename launchToTarget to launchProjectileTo.
Cybermaxke Jul 31, 2020
53e08e1
Fix hand equipment type names.
Cybermaxke Jul 31, 2020
3213ef4
Use a double for damage related keys. (#2174)
Cybermaxke Jul 31, 2020
c26beca
Nuke DummyObjectProvider (#2190)
ImMorpheus Jul 31, 2020
7aa4896
Remove the concept of read-only orders (#2189)
ImMorpheus Jul 31, 2020
9015cab
Add ability to programmatically create selectors (#2194)
dualspiral Jul 31, 2020
50fe5d2
Forward most Cause methods to the actual Cause
dualspiral Aug 6, 2020
db204b9
Add support for non-Sponge/Brig client completions.
dualspiral Jul 31, 2020
7bc9064
A Portal API.
Zidane Jul 28, 2020
6e2382f
Add MovementTypes END_GATEWAY, ENTITY_TELEPORT
Zidane Aug 10, 2020
56ec326
Re-structure around where we store Cause and where the cause objects …
Zidane Aug 11, 2020
f888848
Add ResourceKey parameter.
dualspiral Aug 13, 2020
e086c46
Add BlockState parameter
dualspiral Aug 13, 2020
7d27f8e
allow multiple dataholders for one DataStore
Faithcaio Aug 15, 2020
a17e696
Add MovementTypes#CHORUS_FRUIT (#2204)
ImMorpheus Aug 16, 2020
c45de43
Corrections for the World API.
Zidane Aug 15, 2020
0ca1a6d
Simplify the futures in the WorldManager.
Zidane Aug 16, 2020
e75e5f8
horses dont have a ContainerType
Faithcaio Aug 16, 2020
f33ff79
Lowercase provideCatalog ids
Aug 16, 2020
585bb68
APPLICABLE_POTION_EFFECTS
Faithcaio Aug 16, 2020
9b0f96f
fix ArtType AZTEC2
Faithcaio Aug 16, 2020
9ca6444
Not used? Goodbye error-prone.
Zidane Aug 17, 2020
9ca43a0
Add online only variants to location and world parameters
dualspiral Aug 16, 2020
bb7129d
Define some common parameters
dualspiral Aug 6, 2020
d805ce0
Remove unused dependencies (#2207)
ImMorpheus Aug 17, 2020
30eaf1b
fix BannerPatternShapes names to match registration
Faithcaio Aug 17, 2020
d517879
Fix typo in KeyValueMatcher and update some javadoc.
Cybermaxke Aug 19, 2020
6dfc4cc
Tweak Guice module exclusions.
Zidane Aug 20, 2020
a026d87
InventoryKeys got moved to Keys
Faithcaio Aug 22, 2020
6f2b050
Clean up dependency output of API
gabizou Aug 22, 2020
5153677
Update Configurate to 3.7.1
dualspiral Aug 22, 2020
a4f0f0b
Merge branch 'stable-7' into api-8
ImMorpheus Aug 22, 2020
3643ede
Remove ChangeLevelEvent
ImMorpheus Aug 22, 2020
89c3b7d
Bump plugin-spi to 0.1.2-SNAPSHOT
gabizou Aug 23, 2020
4917276
Add common parameter, overload for hasAny
dualspiral Aug 23, 2020
1b94975
Bump plugin-spi dependency
gabizou Aug 23, 2020
c364213
Move ban classes to ban package (#2210)
ImMorpheus Aug 23, 2020
16f95fc
Use gradle wrapper all (#2208)
ImMorpheus Aug 23, 2020
70fe2ca
Fix event-gen factory (#2185)
ImMorpheus Aug 23, 2020
76c1d81
Change GameProfileManager method signature to return a map (#2211)
ImMorpheus Aug 24, 2020
2430567
Add Keys#SLEEP_TIMER (#2212)
ImMorpheus Aug 24, 2020
c52a047
[API-8] Add missing Living value accessors (#2144)
ItsDoot Aug 25, 2020
e1a6cc4
Remove EconomyService#deleteAccount default implementation (#2209)
ImMorpheus Aug 26, 2020
dbe113c
Fix NO_SPECTATOR predicate
ImMorpheus Aug 26, 2020
18f1306
Fix jd errors
ImMorpheus Aug 26, 2020
2757993
Add Minecraft 1.15.2 content.
Zidane Aug 27, 2020
4a8b3c1
Finalise
ImMorpheus Aug 29, 2020
e71e1b1
Extra line
ImMorpheus Aug 29, 2020
d13687e
PlaceholderText -> PlaceholderComponent
ImMorpheus Aug 29, 2020
edbdf81
Fix package
ImMorpheus Aug 29, 2020
7b06337
Add SaveChunkEvent.
Zidane Apr 4, 2020
c95682d
Add missing GameRules from 1.15.2
Zidane Aug 29, 2020
6860200
fix VillagerTypes typo
Faithcaio Aug 30, 2020
1d96cd1
Add SpawnEntityEvent.Pre for immediate events
gabizou Aug 30, 2020
cd62114
Add Audiences#withPermission (#2215)
ImMorpheus Aug 30, 2020
14f5d96
Update HarvestEntityEvent for better exposure of what happens
gabizou Aug 31, 2020
cb4ec21
Remove requirement to register a canExecute predicate when registrars…
dualspiral Aug 31, 2020
0cda2e8
Add method to send updated command tree to a player
dualspiral Aug 31, 2020
390831f
Merge API 7 into API 8
dualspiral Aug 31, 2020
309060b
Update Placeholders to use Components rather than TextComponents
dualspiral Aug 31, 2020
bbf5ae5
Remove TargetChunkEvent - folded into SaveChunkEvent
dualspiral Aug 31, 2020
b0da601
Add an API method to access the Minecraft DataVersion (#2220)
me4502 Aug 31, 2020
92436d3
Add globe banner pattern shape.
Cybermaxke Sep 1, 2020
90933a3
Update ParrotType IDs (#2223)
Grinch Sep 3, 2020
75dc661
SWIFTNESS can apply to all Entity
Faithcaio Sep 4, 2020
a2c7a32
every Agent is ArmorEquipable
Faithcaio Sep 4, 2020
d10c3bb
Expose subcommand list in Command.Parameterized. Fixes #2224
dualspiral Sep 7, 2020
41ceac0
Update Key JavaDocs + Rename SlabPortions.FULL -> DOUBLE (#2226)
Grinch Sep 7, 2020
6f0b9e7
USe generics in createEntity (makes plugin code cleaner)
Zidane Sep 8, 2020
8f0d48a
EyeOfEnder DESPAWN_DELAY
Faithcaio Sep 8, 2020
3c54748
adventure: Update for api changes (#2229)
zml2008 Sep 10, 2020
2839418
Split Game and Engine scoped services
dualspiral Sep 11, 2020
3564dfb
Add ability to get Command.Parameterized from CommandContext (#2217)
dualspiral Sep 7, 2020
5331937
build: fix guice exclusion for configurate (#2228)
zml2008 Sep 13, 2020
ffff582
Make KickPlayerEvent cancellable (#2179)
ImMorpheus Sep 13, 2020
2962993
custom data providers
Faithcaio Sep 13, 2020
1a53744
ValueUsage returns String, not a Component.
dualspiral Sep 20, 2020
7305062
Another Round of Data (API Edition) (#2231)
Grinch Sep 23, 2020
0c9ce0e
Allow ValueCompleters to filter based on input string
dualspiral Sep 20, 2020
cba4b4e
Allow a Command.Parameterized and all Parameters to be terminal
dualspiral Sep 25, 2020
8a63de2
Rename seq/firstOf methods that returned a builder
dualspiral Sep 25, 2020
ab52841
command: Add helper methods for building flags
zml2008 Sep 18, 2020
3a8a176
Update for Adventure changes
kashike Sep 28, 2020
46c8c4d
update Recipe API for impl
Faithcaio Sep 18, 2020
55b20aa
Add new particle types and remove numerical particle types (for now)
ItsDoot Aug 29, 2020
df9d12e
Disable some ParticleOptions for now
ItsDoot Aug 29, 2020
3021097
Re-enable ParticleOptions.VELOCITY
ItsDoot Aug 29, 2020
8267c4b
Re-enable ParticleTypes.FIRE_SMOKE
ItsDoot Aug 29, 2020
52b92d2
Re-enable break_block numerical particle
ItsDoot Aug 29, 2020
c04d38d
Re-enable the other numerical particles and do some code cleanup
ItsDoot Aug 29, 2020
5cee2c2
Remove old TODO
ItsDoot Aug 29, 2020
d946e06
fix broken references in ParticleOptions
Faithcaio Oct 1, 2020
fe520c8
Merge Reimplement Particles #2213
Faithcaio Oct 1, 2020
50745e0
BlockType#isAnyOf
Faithcaio Oct 1, 2020
e77b102
fix SoundTypes
Faithcaio Oct 1, 2020
067afa2
Update to licenser 0.5
jamierocks Oct 2, 2020
291f9b1
Add ability to get the CommandCause from ExecuteCommandEvent
dualspiral Oct 3, 2020
259bd76
Merge update to licenser. Merges #2239
gabizou Oct 9, 2020
54e6102
Advancements
Faithcaio Oct 1, 2020
d5fb2a7
ProjectileSources now take EntityTypes instead of Projectile class
Faithcaio Oct 9, 2020
b71731c
Bring back projectiles launcher & co
RedNesto Aug 31, 2020
371a461
Remove ProjectileLauncher, it isn't used for anything
RedNesto Aug 31, 2020
78701ec
Expose CommandExecutor on Command.Parameterized
dualspiral Oct 11, 2020
923db26
Player has an identity
kashike Oct 12, 2020
aecab17
Fix javadocs
dualspiral Oct 13, 2020
27497d8
Merge pull request #2248 from SpongePowered/feature/adventure-id
Oct 14, 2020
8fec1b9
Update to Adventure 4.0.0
dualspiral Oct 15, 2020
07aa1fc
Merge changes from stable-7 in to api-8
gabizou Oct 16, 2020
9c58e76
Update Adventure to 4.1.1
dualspiral Oct 17, 2020
d2626a1
Remove erroneous javadoc
dualspiral Oct 31, 2020
1d1c70a
adjust DataRegistrations for impl
Faithcaio Oct 18, 2020
4f0ef9d
Add Git-Commit and Git-Branch information in the manifest
gabizou Nov 1, 2020
62a9e90
Add MANY_GAME_PROFILES parameter, repurpose GAME_PROFILE to only retu…
dualspiral Nov 10, 2020
51ea5bb
Add missing triggers (#2242)
ImMorpheus Nov 10, 2020
6ee94ee
Add missing locked field in Score class (#2243)
ImMorpheus Nov 10, 2020
5892b52
Replace Duration with Ticks where it makes sense to do so.
dualspiral Oct 9, 2020
98b155a
Minor changes, for consistency.
Zidane Nov 10, 2020
ac44180
Whoops, thanks JB.
Zidane Nov 10, 2020
8e4100a
Refactor the GameProfileManager and make GameProfile immutable.
Cybermaxke Sep 3, 2020
09eb3b5
Add ItemStackSnapshot parameter
dualspiral Oct 27, 2020
c55fcbb
Introduce more generic Palettes
gabizou Oct 5, 2020
87e2688
Implement BlockChangeFlag additions
gabizou Nov 13, 2020
441dd2d
Rename Rotation to Orientation for better naming accuracy
gabizou Sep 12, 2020
bad957b
Add proper Rotation and method to BlockState.rotate
gabizou Sep 12, 2020
4bdd004
Add Mirror for BlockState mirroring
gabizou Sep 12, 2020
28e734e
Add rotation and mirror to BlockEntity
gabizou Sep 13, 2020
07404e4
Add VolumeStream and supporting functions
gabizou Sep 12, 2020
9332716
Slight refactoring of hierarchies to avoid making all volumes data ho…
gabizou Oct 13, 2020
b9a1c86
Merge VolumeStream API. Merges #2241.
gabizou Nov 14, 2020
e37e606
Add the Orientation type token
gabizou Nov 14, 2020
cc86552
Add new ray trace API for blocks and entities.
dualspiral Sep 20, 2020
340186d
First pass automated conversion to Configurate 4
zml2008 Jul 28, 2020
bc6243b
config: Expose common serializer collection
zml2008 Oct 14, 2020
3b3b115
begin migration to new standards for TypeToken use
zml2008 Oct 14, 2020
a62df2f
config: Expose shared watch service listener
zml2008 Oct 19, 2020
8ceed71
Update ConfigRoot to accomodate Guice changes
zml2008 Oct 19, 2020
a9e8c7d
Update for 4.0 release
zml2008 Nov 14, 2020
8ff127f
Merge Configurate 4 upgrade. Merges #2193.
gabizou Nov 15, 2020
d5f87a1
OCD
Zidane Nov 15, 2020
9e36ba3
Separate Display Name and Custom Name.
Zidane Nov 15, 2020
c5d0242
Update and enable DamageEntityEvent and AttackEntityEvent
gabizou Nov 16, 2020
d06676f
Align TextMessageException with Adventure name + interface
zml2008 Nov 16, 2020
0d9e0fc
Update StateMatcher to support both BlockState and FluidState
Zidane Aug 29, 2020
75408eb
DetonateExplosiveEvent is for all Explosives.
Zidane Nov 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
58 changes: 0 additions & 58 deletions .github/workflows/build-and-deploy.yaml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ stable-7, 'api-*' ]
pull_request:
branches: [ 'api-*' ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/buildSrc/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup environment variables
run: |
echo "GIT_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
echo "GIT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Build with Gradle
run: ./gradlew build
30 changes: 0 additions & 30 deletions .github/workflows/build-prs.yaml

This file was deleted.

6 changes: 2 additions & 4 deletions .github/workflows/check-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: License Check

on:
push:
branches: [ stable-7 ]
branches: [ stable-7, api-8 ]
pull_request:
branches: [ stable-7 ]
branches: [ stable-7, api-8 ]

jobs:
build:
Expand All @@ -16,8 +16,6 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/cache@v2
with:
path: ~/.gradle/caches
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/deploy_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle

name: Publish SpongeAPI to Maven and Github Packages

on:
push:
branches: [ api-8 ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup env variables
run: |
echo "GIT_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
echo "GIT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
echo "BUILD_NUMBER=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build

# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to Sponge Maven & GitHub Packages
run: ./gradlew javadocJar sourceJar jar publish
env:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_spongeSnapshotRepo: ${{ secrets.SPONGE_MAVEN_SNAPSHOT_REPO_URL }}
ORG_GRADLE_PROJECT_spongeReleaseRepo: ${{ secrets.SPONGE_MAVEN_RELEASE_REPO_URL }}
ORG_GRADLE_PROJECT_spongeUsername: ${{ secrets.SPONGE_MAVEN_REPO_USER }}
ORG_GRADLE_PROJECT_spongePassword: ${{ secrets.SPONGE_MAVEN_REPO_PASSWORD }}


22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
SpongeAPI [![Build Status](https://travis-ci.org/SpongePowered/SpongeAPI.svg?branch=master)](https://travis-ci.org/SpongePowered/SpongeAPI)
=============
**Currently not stable and under heavy development!**
A Minecraft plugin API (not including an implementation). It is licensed under the [MIT License].
A mature Minecraft plugin API (not including an implementation), licensed under the [MIT License].

* [Homepage]
* [Source]
* [Issues]
* [Wiki]
* [Community Chat]: [#sponge on irc.esper.net]
* [Development Chat]: [#spongedev on irc.esper.net]
* [Documentation]
* [Community Discord]
* [Community IRC]: [#sponge on irc.esper.net]
* [Development IRC]: [#spongedev on irc.esper.net]
* [Preparing for Development]
* [Javadocs]

Expand All @@ -17,7 +17,7 @@ A Minecraft plugin API (not including an implementation). It is licensed under t

## Clone
The following steps will ensure your project is cloned properly.
1. `git clone git@github.com:SpongePowered/SpongeAPI.git`
1. `git clone https://github.com/SpongePowered/SpongeAPI.git`
2. `cd SpongeAPI`
3. `cp scripts/pre-commit .git/hooks`

Expand All @@ -35,16 +35,18 @@ Are you a talented programmer looking to contribute some code? We'd love the hel
[Gradle]: https://www.gradle.org/
[Homepage]: https://spongepowered.org/
[IntelliJ]: https://www.jetbrains.com/idea/
[Issues]: https://issues.spongepowered.org/
[Wiki]: https://github.com/SpongePowered/SpongeAPI/wiki/
[Issues]: https://github.com/SpongePowered/SpongeAPI/issues
[Documentation]: https://docs.spongepowered.org/
[Java]: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
[Source]: https://github.com/SpongePowered/SpongeAPI/
[MIT License]: https://www.tldrlegal.com/license/mit-license
[Community Chat]: https://webchat.esper.net/?channels=sponge
[Development Chat]: https://webchat.esper.net/?channels=spongedev
[Community Discord]: https://discord.gg/PtaGRAs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be using our vanity url: https://discord.gg/sponge

[Community IRC]: https://kiwiirc.com/client/irc.esper.net:+6697/?nick=sponge|?#sponge
[Development IRC]: https://kiwiirc.com/client/irc.esper.net:+6697/?nick=sponge|?#spongedev
[Preparing for Development]: https://docs.spongepowered.org/en/preparing/
[#sponge on irc.esper.net]: irc://irc.esper.net/#sponge
[Development Chat]: https://webchat.esper.net/?channels=spongedev
[#spongedev on irc.esper.net]: irc://irc.esper.net/#spongedev
[Preparing for Development]: https://docs.spongepowered.org/en/preparing/
[Javadocs]: https://jd.spongepowered.org
[stable-7]: https://github.com/SpongePowered/SpongeAPI/tree/stable-7
Loading