Graham
75b7845d44
Move contribution guidelines to a separate file
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f143eef142
Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ce5b76ef0f
Rename dev.openrs2 package to org.openrs2
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d755d486d6
Add initial cache and XTEA key archiving service
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
232ba32bbd
Enable explicit API mode
...
This already caught some cases of public members that should have been
private and one case where the inferred type was too specific.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
e500d8d211
Set shadow distribution base name to openrs2
...
Now the main distribution is gone we don't need a -shadow suffix.
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
554e643e88
Rename the fat jar inside the shadow distribution to openrs2.jar
...
This removes all the extra cruft (like the whole artifact ID and the
version).
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
1b49f6c2e1
Disable the main distribution
...
We only need to generate the shadow distribution.
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
06b1b78952
Use shorthand rootDir and buildDir methods
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
18a6736b68
Add AUTHORS file to the distribution
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
21551b119c
Add kotlin-reflect dependency
...
It is required by Jackson.
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
25f8bac502
Install example config file at the real path in the distribution
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
d119cc07b5
Add config file parser
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
acce037eac
Copy entire share directory into the distribution
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
e6a92ea0aa
Switch to FHS-style layout
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
586ffabc57
Set artifactId of all submodule to openrs2
...
Now we don't use Maven, the dev.openrs2:openrs2 Maven coordinates are
available for use. I think using them for the end-user application
packaged as a .zip file is reasonable.
I don't intend to move the all submodule to the root build.gradle.kts
file, as this would cause us to lose some of the benefits of supporting
Gradle configuration on demand.
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
96cdcad2af
Use tasks extension methods where possible
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
4a40b2cc68
Use NoOpCliktCommand to replace the empty run methods
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
eae715231b
Move subcommands to init block for consistency
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
c20dad7a5e
Fix DeobfuscateAstCommand class name
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
44fb2ebe25
Add crc32 command
...
This is useful for checking the CRC-32 checksum of files used by the
loader. It outputs the checksum in signed decimal format, which is the
format used in the file name suffixes in the loader (e.g.
unpackclass_-1911426584.pack).
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
c849c5ad46
Add command-line tools for headerless compression
...
These are useful for manipulating the files used by the loader, some of
which are compressed with DEFLATE or headerless gzip.
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
a52d58e8b5
Use Clikt to implement the command-line interface
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
d414f73c20
Move DCO to a separate file
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
e9df70e7e8
Fix license file name in all/build.gradle.kts
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
54aec42f90
Format .kts files
5 years ago
Graham
ccbbf873af
Switch from Maven to Gradle
5 years ago
Graham
c6cf9a4d94
Add initial client bundler
5 years ago
Graham
77e8b0cdc0
Use top-level Kotlin main() functions
5 years ago
Graham
839ec915c5
Add docs, README and COPYING files to the zip bundle
5 years ago
Graham
1f58eb7736
Add all module
5 years ago