Commit 86564df 1 parent 645ba8f commit 86564df Copy full SHA for 86564df
File tree 12 files changed +27
-24
lines changed
src/main/java/com/xpdustry/domination
12 files changed +27
-24
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,12 @@ tasks.shadowJar {
127
127
from(generateMetadataFile)
128
128
from(rootProject.file(" LICENSE.md" )) { into(" META-INF" ) }
129
129
minimize()
130
- // relocate("com.distributor")
131
- // relocate("com.distributor")
132
- // relocate("com.distributor")
130
+ val shadowPackage = " $rootPackage .shadow"
131
+ relocate(" com.google.gson" , " $shadowPackage .gson" )
132
+ relocate(" io.leangen.geantyref" , " $shadowPackage .geantyref" )
133
+ relocate(" net.mindustry_ddns.filestore" , " $shadowPackage .filestore" )
134
+ relocate(" org.incendo.cloud" , " $shadowPackage .cloud" )
135
+ mergeServiceFiles()
133
136
}
134
137
135
138
tasks.register<Copy >(" release" ) {
Original file line number Diff line number Diff line change 7
7
"minGameVersion" : " 146" ,
8
8
"hidden" : true ,
9
9
"java" : true ,
10
- "main" : " fr .xpdustry.domination.DominationPlugin" ,
10
+ "main" : " com .xpdustry.domination.DominationPlugin" ,
11
11
"repo" : " xpdustry/domination" ,
12
12
"dependencies" : [" distributor-common" ]
13
13
}
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination ;
19
+ package com .xpdustry .domination ;
20
20
21
21
import arc .struct .ObjectIntMap ;
22
22
import arc .util .CommandHandler ;
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination ;
19
+ package com .xpdustry .domination ;
20
20
21
21
import arc .util .CommandHandler ;
22
22
import com .google .gson .FieldNamingPolicy ;
25
25
import com .xpdustry .distributor .api .command .CommandSender ;
26
26
import com .xpdustry .distributor .api .command .cloud .MindustryCommandManager ;
27
27
import com .xpdustry .distributor .api .plugin .AbstractMindustryPlugin ;
28
- import fr .xpdustry .domination .Zone .Adapter ;
29
- import fr .xpdustry .domination .commands .EditCommands ;
30
- import fr .xpdustry .domination .commands .StartCommand ;
31
- import fr .xpdustry .domination .commands .ZoneListCommand ;
28
+ import com .xpdustry .domination .Zone .Adapter ;
29
+ import com .xpdustry .domination .commands .EditCommands ;
30
+ import com .xpdustry .domination .commands .StartCommand ;
31
+ import com .xpdustry .domination .commands .ZoneListCommand ;
32
32
import io .leangen .geantyref .TypeToken ;
33
33
import java .time .Duration ;
34
34
import java .util .ArrayList ;
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination ;
19
+ package com .xpdustry .domination ;
20
20
21
21
import arc .math .Mathf ;
22
22
import arc .math .geom .Geometry ;
@@ -69,7 +69,7 @@ public void onPluginClientCommandsRegistration(final CommandHandler handler) {
69
69
.literal ("view" )
70
70
.commandDescription (
71
71
CommandDescription .commandDescription ("Enable/Disable domination zone view mode." ))
72
- .permission ("fr .xpdustry.domination.map.zone.view" )
72
+ .permission ("com .xpdustry.domination.map.zone.view" )
73
73
.handler (ctx -> {
74
74
final var player = ctx .sender ().getPlayer ();
75
75
if (!this .viewers .add (player )) {
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination ;
19
+ package com .xpdustry .domination ;
20
20
21
21
import java .time .Clock ;
22
22
import java .time .Duration ;
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination ;
19
+ package com .xpdustry .domination ;
20
20
21
21
import com .google .gson .TypeAdapter ;
22
22
import com .google .gson .stream .JsonReader ;
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination ;
19
+ package com .xpdustry .domination ;
20
20
21
21
import com .google .gson .TypeAdapter ;
22
22
import com .google .gson .stream .JsonReader ;
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination .commands ;
19
+ package com .xpdustry .domination .commands ;
20
20
21
21
import com .xpdustry .distributor .api .command .CommandSender ;
22
- import fr .xpdustry .domination .DominationPlugin ;
23
- import fr .xpdustry .domination .Zone ;
22
+ import com .xpdustry .domination .DominationPlugin ;
23
+ import com .xpdustry .domination .Zone ;
24
24
import mindustry .Vars ;
25
25
import org .incendo .cloud .annotation .specifier .Range ;
26
26
import org .incendo .cloud .annotations .Argument ;
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination .commands ;
19
+ package com .xpdustry .domination .commands ;
20
20
21
21
import arc .Core ;
22
22
import arc .util .Strings ;
23
23
import com .xpdustry .distributor .api .command .CommandSender ;
24
- import fr .xpdustry .domination .DominationPlugin ;
24
+ import com .xpdustry .domination .DominationPlugin ;
25
25
import mindustry .Vars ;
26
26
import mindustry .game .Gamemode ;
27
27
import mindustry .net .WorldReloader ;
Original file line number Diff line number Diff line change 16
16
* You should have received a copy of the GNU General Public License
17
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
*/
19
- package fr .xpdustry .domination .commands ;
19
+ package com .xpdustry .domination .commands ;
20
20
21
21
import com .xpdustry .distributor .api .command .CommandSender ;
22
- import fr .xpdustry .domination .DominationPlugin ;
23
- import fr .xpdustry .domination .Zone ;
22
+ import com .xpdustry .domination .DominationPlugin ;
23
+ import com .xpdustry .domination .Zone ;
24
24
import org .incendo .cloud .annotations .Command ;
25
25
import org .incendo .cloud .annotations .CommandDescription ;
26
26
Original file line number Diff line number Diff line change 16
16
TypeUseLocation .UPPER_BOUND ,
17
17
TypeUseLocation .OTHERWISE ,
18
18
})
19
- package fr .xpdustry .domination ;
19
+ package com .xpdustry .domination ;
20
20
21
21
import org .checkerframework .checker .nullness .qual .NonNull ;
22
22
import org .checkerframework .framework .qual .DefaultQualifier ;
You can’t perform that action at this time.
0 commit comments