Skip to content

Commit

Permalink
Change package name to com.juul.* (#22)
Browse files Browse the repository at this point in the history
* Change package namespace from com.juullabs to com.juul

* Replace package name in config files

* Fix missing imports
  • Loading branch information
cedrickcooke authored Aug 10, 2020
1 parent d47b3b6 commit ce5d03c
Show file tree
Hide file tree
Showing 58 changed files with 248 additions and 244 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise.annotations
package com.juul.exercise.annotations

@MustBeDocumented
@Target(AnnotationTarget.CLASS)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise.annotations
package com.juul.exercise.annotations

@MustBeDocumented
@Target(AnnotationTarget.CLASS)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise.annotations
package com.juul.exercise.annotations

import kotlin.reflect.KClass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise.annotations
package com.juul.exercise.annotations

import kotlin.reflect.KClass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise.annotations
package com.juul.exercise.annotations

@MustBeDocumented
@Target(AnnotationTarget.CLASS)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise.annotations
package com.juul.exercise.annotations

@MustBeDocumented
@Target(AnnotationTarget.CLASS)
Expand Down
2 changes: 1 addition & 1 deletion application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android {
compileSdkVersion 29

defaultConfig {
applicationId "com.juullabs.exercise"
applicationId "com.juul.exercise"
minSdkVersion 21
targetSdkVersion 29
versionCode 1
Expand Down
2 changes: 1 addition & 1 deletion application/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.juullabs.exercise"
package="com.juul.exercise"
>

<application
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise
package com.juul.exercise

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.juullabs.exercise
package com.juul.exercise

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.juullabs.exercise.annotations.Exercise
import com.juullabs.exercise.fragments.newLegacyFragment
import com.juullabs.exercise.fragments.newListFragment
import com.juullabs.exercise.fragments.newNoExtrasFragment
import com.juullabs.exercise.fragments.newOptionalFragment
import com.juullabs.exercise.fragments.newStandardFragment
import com.juullabs.exercise.fragments.newSubclassFragment
import com.juul.exercise.annotations.Exercise
import com.juul.exercise.fragments.newLegacyFragment
import com.juul.exercise.fragments.newListFragment
import com.juul.exercise.fragments.newNoExtrasFragment
import com.juul.exercise.fragments.newOptionalFragment
import com.juul.exercise.fragments.newStandardFragment
import com.juul.exercise.fragments.newSubclassFragment
import kotlinx.android.synthetic.main.activity_fragment_container.showLegacyFragment
import kotlinx.android.synthetic.main.activity_fragment_container.showListFragment
import kotlinx.android.synthetic.main.activity_fragment_container.showNoExtrasFragment
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.juullabs.exercise
package com.juul.exercise

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.juullabs.exercise.activities.CalculatorParentActivityIntent
import com.juullabs.exercise.activities.ListActivityIntent
import com.juullabs.exercise.activities.NoExtrasActivityIntent
import com.juullabs.exercise.activities.OptionalActivityIntent
import com.juullabs.exercise.activities.StandardActivityIntent
import com.juullabs.exercise.activities.SubclassActivityIntent
import com.juul.exercise.activities.CalculatorParentActivityIntent
import com.juul.exercise.activities.ListActivityIntent
import com.juul.exercise.activities.NoExtrasActivityIntent
import com.juul.exercise.activities.OptionalActivityIntent
import com.juul.exercise.activities.StandardActivityIntent
import com.juul.exercise.activities.SubclassActivityIntent
import kotlinx.android.synthetic.main.activity_main.toCalculatorParentActivity
import kotlinx.android.synthetic.main.activity_main.toFragmentContainer
import kotlinx.android.synthetic.main.activity_main.toListActivity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.juul.exercise.activities

import com.juul.exercise.annotations.AsStub
import com.juul.exercise.annotations.Exercise
import com.juul.exercise.annotations.Extra
import com.juul.exercise.annotations.ResultContract
import com.juul.exercise.annotations.ResultKind

@Exercise(Extra("input", Int::class))
@ResultContract(ResultKind("Ok", Extra("output", Int::class)))
@AsStub("com.juul.dynamicfeature", "CalculatorChildActivity")
class CalculatorChildActivityStub
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.juullabs.exercise.activities
package com.juul.exercise.activities

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.juullabs.dynamicfeature.CalculatorChildActivityContract
import com.juullabs.dynamicfeature.CalculatorChildActivityIntent
import com.juullabs.dynamicfeature.CalculatorChildActivityResult
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Exercise
import com.juul.dynamicfeature.CalculatorChildActivityContract
import com.juul.dynamicfeature.CalculatorChildActivityIntent
import com.juul.dynamicfeature.CalculatorChildActivityResult
import com.juul.exercise.R
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.activity_calc_parent.initialValue11
import kotlinx.android.synthetic.main.activity_calc_parent.initialValue3
import kotlinx.android.synthetic.main.activity_calc_parent.initialValue5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.juullabs.exercise.activities
package com.juul.exercise.activities

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.juullabs.exercise.Datum
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Exercise
import com.juullabs.exercise.annotations.Extra
import com.juul.exercise.Datum
import com.juul.exercise.R
import com.juul.exercise.annotations.Exercise
import com.juul.exercise.annotations.Extra
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise(Extra("data", List::class, Datum::class))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.juullabs.exercise.activities
package com.juul.exercise.activities

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.R
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.juullabs.exercise.activities
package com.juul.exercise.activities

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Exercise
import com.juullabs.exercise.annotations.Extra
import com.juul.exercise.R
import com.juul.exercise.annotations.Exercise
import com.juul.exercise.annotations.Extra
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise(Extra("optionalString", String::class, optional = true))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.juullabs.exercise.activities
package com.juul.exercise.activities

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Exercise
import com.juullabs.exercise.annotations.Extra
import com.juul.exercise.R
import com.juul.exercise.annotations.Exercise
import com.juul.exercise.annotations.Extra
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise(Extra("standardInt", Int::class))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.juullabs.exercise.activities
package com.juul.exercise.activities

import android.os.Bundle
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Exercise
import com.juullabs.exercise.annotations.Extra
import com.juul.exercise.R
import com.juul.exercise.annotations.Exercise
import com.juul.exercise.annotations.Extra
import kotlinx.android.synthetic.main.subclass.bottomTextView
import kotlinx.android.synthetic.main.subclass.topTextView

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.juullabs.exercise.activities
package com.juul.exercise.activities

import androidx.appcompat.app.AppCompatActivity
import com.juullabs.exercise.annotations.Exercise
import com.juullabs.exercise.annotations.Extra
import com.juul.exercise.annotations.Exercise
import com.juul.exercise.annotations.Extra

@Exercise(Extra("superclassString", String::class))
abstract class SuperclassActivity : AppCompatActivity()
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@file:Suppress("DEPRECATION")

package com.juullabs.exercise.fragments
package com.juul.exercise.fragments

import android.app.Fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Argument
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.R
import com.juul.exercise.annotations.Argument
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise(Argument("legacyInt", Int::class))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.juullabs.exercise.fragments
package com.juul.exercise.fragments

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.juullabs.exercise.Datum
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Argument
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.Datum
import com.juul.exercise.R
import com.juul.exercise.annotations.Argument
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise(Argument("data", List::class, Datum::class))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.juullabs.exercise.fragments
package com.juul.exercise.fragments

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.R
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.juullabs.exercise.fragments
package com.juul.exercise.fragments

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Argument
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.R
import com.juul.exercise.annotations.Argument
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise(Argument("optionalString", String::class, optional = true))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.juullabs.exercise.fragments
package com.juul.exercise.fragments

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Argument
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.R
import com.juul.exercise.annotations.Argument
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.single_text_view.centeredTextView

@Exercise(Argument("standardInt", Int::class))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.juullabs.exercise.fragments
package com.juul.exercise.fragments

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.juullabs.exercise.R
import com.juullabs.exercise.annotations.Argument
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.R
import com.juul.exercise.annotations.Argument
import com.juul.exercise.annotations.Exercise
import kotlinx.android.synthetic.main.subclass.bottomTextView
import kotlinx.android.synthetic.main.subclass.topTextView

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.juullabs.exercise.fragments
package com.juul.exercise.fragments

import androidx.fragment.app.Fragment
import com.juullabs.exercise.annotations.Argument
import com.juullabs.exercise.annotations.Exercise
import com.juul.exercise.annotations.Argument
import com.juul.exercise.annotations.Exercise

@Exercise(Argument("superclassString", String::class))
abstract class SuperclassFragment : Fragment()

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.juullabs.exercise
package com.juul.exercise

import org.assertj.core.api.AbstractStringAssert
import org.intellij.lang.annotations.Language
Expand Down
Loading

0 comments on commit ce5d03c

Please sign in to comment.