Reestructured project
This commit is contained in:
parent
7196b1b8e5
commit
3ad0d12503
11 changed files with 21 additions and 43 deletions
|
@ -35,7 +35,7 @@ compose.desktop {
|
|||
nativeDistributions {
|
||||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "Gitnuro"
|
||||
packageVersion = "1.0.0-preview01"
|
||||
packageVersion = "1.0.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,3 @@
|
|||
package aeab13.github.com
|
||||
|
||||
import java.util.prefs.Preferences
|
||||
|
||||
private const val PREFERENCES_NAME = "GitnuroConfig"
|
|
@ -1,9 +1,7 @@
|
|||
package aeab13.github.com
|
||||
|
||||
import aeab13.github.com.git.LogManager
|
||||
import aeab13.github.com.git.LogStatus
|
||||
import aeab13.github.com.git.StageStatus
|
||||
import aeab13.github.com.git.StatusManager
|
||||
import git.LogManager
|
||||
import git.LogStatus
|
||||
import git.StageStatus
|
||||
import git.StatusManager
|
||||
import kotlinx.coroutines.CancellationException
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.SupervisorJob
|
||||
|
@ -14,13 +12,9 @@ import org.eclipse.jgit.api.Git
|
|||
import org.eclipse.jgit.diff.DiffEntry
|
||||
import org.eclipse.jgit.diff.DiffFormatter
|
||||
import org.eclipse.jgit.dircache.DirCacheIterator
|
||||
import org.eclipse.jgit.lib.Constants.HEAD
|
||||
import org.eclipse.jgit.lib.ObjectId
|
||||
import org.eclipse.jgit.lib.Repository
|
||||
import org.eclipse.jgit.storage.file.FileRepositoryBuilder
|
||||
import org.eclipse.jgit.treewalk.CanonicalTreeParser
|
||||
import org.eclipse.jgit.treewalk.FileTreeIterator
|
||||
import org.eclipse.jgit.treewalk.filter.TreeFilter
|
||||
import java.io.ByteArrayOutputStream
|
||||
import java.io.File
|
||||
|
|
@ -1,11 +1,3 @@
|
|||
package aeab13.github.com
|
||||
|
||||
import aeab13.github.com.extensions.filePath
|
||||
import aeab13.github.com.extensions.icon
|
||||
import aeab13.github.com.git.LogStatus
|
||||
import aeab13.github.com.theme.backgroundColor
|
||||
import aeab13.github.com.theme.primaryTextColor
|
||||
import aeab13.github.com.theme.secondaryTextColor
|
||||
import androidx.compose.animation.Crossfade
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.clickable
|
||||
|
@ -23,16 +15,20 @@ import androidx.compose.ui.text.font.FontFamily
|
|||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.text.style.TextOverflow
|
||||
import androidx.compose.ui.unit.dp
|
||||
import extensions.filePath
|
||||
import extensions.icon
|
||||
import git.LogStatus
|
||||
import org.eclipse.jgit.api.Git
|
||||
import org.eclipse.jgit.diff.DiffEntry
|
||||
import org.eclipse.jgit.diff.DiffFormatter
|
||||
import org.eclipse.jgit.lib.Repository
|
||||
import org.eclipse.jgit.revwalk.RevCommit
|
||||
import org.eclipse.jgit.revwalk.RevTree
|
||||
import org.eclipse.jgit.revwalk.RevWalk
|
||||
import org.eclipse.jgit.treewalk.AbstractTreeIterator
|
||||
import org.eclipse.jgit.treewalk.CanonicalTreeParser
|
||||
import java.io.ByteArrayOutputStream
|
||||
import theme.backgroundColor
|
||||
import theme.primaryTextColor
|
||||
import theme.secondaryTextColor
|
||||
import java.io.IOException
|
||||
|
||||
@Composable
|
|
@ -1,8 +1,3 @@
|
|||
package aeab13.github.com
|
||||
|
||||
import aeab13.github.com.extensions.filePath
|
||||
import aeab13.github.com.extensions.icon
|
||||
import aeab13.github.com.git.StageStatus
|
||||
import androidx.compose.foundation.border
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.layout.*
|
||||
|
@ -20,6 +15,9 @@ import androidx.compose.ui.graphics.vector.ImageVector
|
|||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.text.style.TextOverflow
|
||||
import androidx.compose.ui.unit.dp
|
||||
import extensions.filePath
|
||||
import extensions.icon
|
||||
import git.StageStatus
|
||||
import org.eclipse.jgit.diff.DiffEntry
|
||||
|
||||
@Composable
|
|
@ -1,4 +1,4 @@
|
|||
package aeab13.github.com.extensions
|
||||
package extensions
|
||||
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.filled.Add
|
|
@ -1,4 +1,4 @@
|
|||
package aeab13.github.com.git
|
||||
package git
|
||||
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.ensureActive
|
|
@ -1,6 +1,6 @@
|
|||
package aeab13.github.com.git
|
||||
package git
|
||||
|
||||
import aeab13.github.com.extensions.filePath
|
||||
import extensions.filePath
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.ensureActive
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
|
@ -1,15 +1,8 @@
|
|||
import aeab13.github.com.GitManager
|
||||
import aeab13.github.com.RepositorySelected
|
||||
import aeab13.github.com.RepositorySelectionStatus
|
||||
import aeab13.github.com.theme.GitnuroTheme
|
||||
import theme.GitnuroTheme
|
||||
import androidx.compose.animation.Crossfade
|
||||
import androidx.compose.foundation.layout.*
|
||||
import androidx.compose.material.Button
|
||||
import androidx.compose.material.Icon
|
||||
import androidx.compose.material.OutlinedButton
|
||||
import androidx.compose.material.Text
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.filled.Add
|
||||
import androidx.compose.runtime.*
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.ExperimentalComposeUiApi
|
|
@ -1,4 +1,4 @@
|
|||
package aeab13.github.com.theme
|
||||
package theme
|
||||
|
||||
import androidx.compose.ui.graphics.Color
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
package aeab13.github.com.theme
|
||||
package theme
|
||||
|
||||
import androidx.compose.foundation.isSystemInDarkTheme
|
||||
import androidx.compose.material.*
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.graphics.Color
|
Loading…
Reference in a new issue