Update formatters versions:

`gjf` 1.7 -> 1.16.0
`ktfmt` 0.23 -> 0.43
`ktlint` 0.41.0 -> 0.48.2
`spotless` 5.11.0 -> 6.18.0

Manual changes :
 Renamed `logged_in` package -> `loggedIn`
 Renamed `logged_out` package -> `loggedOut`
 Renamed `off_game` package -> `offGame`
 Renamed `tic_tac_toe` package -> `ticTacToe`
This commit is contained in:
sergey.smykovskyi
2023-04-26 11:10:08 -07:00
parent a32142834d
commit e696898c9f
335 changed files with 1916 additions and 1752 deletions
@@ -21,7 +21,7 @@ import android.view.LayoutInflater;
import android.view.ViewGroup;
import com.uber.rib.core.InteractorBaseComponent;
import com.uber.rib.core.ViewBuilder;
import com.uber.rib.root.logged_out.LoggedOutBuilder;
import com.uber.rib.root.loggedOut.LoggedOutBuilder;
import com.uber.rib.tutorial1.R;
import dagger.Binds;
import dagger.BindsInstance;
@@ -17,8 +17,8 @@ package com.uber.rib.root;
import androidx.annotation.Nullable;
import com.uber.rib.core.ViewRouter;
import com.uber.rib.root.logged_out.LoggedOutBuilder;
import com.uber.rib.root.logged_out.LoggedOutRouter;
import com.uber.rib.root.loggedOut.LoggedOutBuilder;
import com.uber.rib.root.loggedOut.LoggedOutRouter;
/** Adds and removes children of {@link RootBuilder.RootScope}. */
public class RootRouter extends ViewRouter<RootView, RootInteractor> {
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.off_game;
package com.uber.rib.root.loggedIn.offGame;
import static java.lang.annotation.RetentionPolicy.CLASS;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.off_game;
package com.uber.rib.root.loggedIn.offGame;
import androidx.annotation.Nullable;
import com.uber.rib.core.Bundle;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.off_game;
package com.uber.rib.root.loggedIn.offGame;
import com.uber.rib.core.ViewRouter;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.off_game;
package com.uber.rib.root.loggedIn.offGame;
import android.content.Context;
import android.util.AttributeSet;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.tic_tac_toe;
package com.uber.rib.root.loggedIn.ticTacToe;
import javax.inject.Inject;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.tic_tac_toe;
package com.uber.rib.root.loggedIn.ticTacToe;
class BoardCoordinate {
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.tic_tac_toe;
package com.uber.rib.root.loggedIn.ticTacToe;
import static java.lang.annotation.RetentionPolicy.CLASS;
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.tic_tac_toe;
package com.uber.rib.root.loggedIn.ticTacToe;
import androidx.annotation.Nullable;
import com.uber.rib.core.Bundle;
import com.uber.rib.core.Interactor;
import com.uber.rib.core.RibInteractor;
import com.uber.rib.root.logged_in.tic_tac_toe.Board.MarkerType;
import com.uber.rib.root.loggedIn.ticTacToe.Board.MarkerType;
import io.reactivex.Observable;
import io.reactivex.functions.Consumer;
import javax.inject.Inject;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.tic_tac_toe;
package com.uber.rib.root.loggedIn.ticTacToe;
import com.uber.rib.core.ViewRouter;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_in.tic_tac_toe;
package com.uber.rib.root.loggedIn.ticTacToe;
import android.content.Context;
import android.util.AttributeSet;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_out;
package com.uber.rib.root.loggedOut;
import static java.lang.annotation.RetentionPolicy.CLASS;
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_out;
package com.uber.rib.root.loggedOut;
import android.util.Log;
import androidx.annotation.Nullable;
import com.uber.rib.core.Bundle;
import com.uber.rib.core.Interactor;
import com.uber.rib.core.RibInteractor;
import com.uber.rib.root.logged_out.LoggedOutBuilder.LoggedOutScope;
import com.uber.rib.root.loggedOut.LoggedOutBuilder.LoggedOutScope;
import io.reactivex.Observable;
import io.reactivex.functions.Consumer;
import javax.inject.Inject;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_out;
package com.uber.rib.root.loggedOut;
import com.uber.rib.core.ViewRouter;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_out;
package com.uber.rib.root.loggedOut;
import android.content.Context;
import android.util.AttributeSet;
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.uber.rib.root.logged_out.LoggedOutView
<com.uber.rib.root.loggedOut.LoggedOutView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -20,4 +20,4 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"/>
</com.uber.rib.root.logged_out.LoggedOutView>
</com.uber.rib.root.loggedOut.LoggedOutView>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.uber.rib.root.logged_in.off_game.OffGameView
<com.uber.rib.root.loggedIn.offGame.OffGameView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -59,4 +59,4 @@
android:layout_gravity="center_horizontal"
android:text="@string/start_game"/>
</com.uber.rib.root.logged_in.off_game.OffGameView>
</com.uber.rib.root.loggedIn.offGame.OffGameView>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.uber.rib.root.logged_in.tic_tac_toe.TicTacToeView
<com.uber.rib.root.loggedIn.ticTacToe.TicTacToeView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/tic_tac_toe"
@@ -108,4 +108,4 @@
app:layout_widthPercent="30%"
android:background="#808080"/>
</com.uber.rib.root.logged_in.tic_tac_toe.TicTacToeView>
</com.uber.rib.root.loggedIn.ticTacToe.TicTacToeView>
@@ -15,7 +15,7 @@
*/
package com.uber.rib.root;
import com.uber.rib.root.logged_out.LoggedOutBuilder;
import com.uber.rib.root.loggedOut.LoggedOutBuilder;
import org.junit.Before;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_out;
package com.uber.rib.root.loggedOut;
import com.uber.rib.core.RibTestBasePlaceholder;
import org.junit.Before;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.uber.rib.root.logged_out;
package com.uber.rib.root.loggedOut;
import com.uber.rib.core.RibTestBasePlaceholder;
import org.junit.Before;