-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc03024
commit a258051
Showing
56 changed files
with
7,849 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
import org.jetbrains.kotlin.config.KotlinCompilerVersion | ||
|
||
plugins { | ||
id("com.android.application") | ||
id("kotlin-android") | ||
} | ||
apply(plugin = ("kotlin-kapt")) | ||
apply(plugin = ("kotlin-android-extensions")) | ||
|
||
dependencies { | ||
classpath("com.android.tools.build:gradle:3.4.0-alpha10") | ||
classpath(kotlin("gradle-plugin", version = "$KOTLIN_VERSION")) | ||
classpath("com.bmuschko:gradle-nexus-plugin:2.3.1") | ||
classpath("com.github.ben-manes:gradle-versions-plugin:0.20.0") | ||
} | ||
|
||
// this should not be converted to block, like the first ones | ||
apply(plugin = ("gms")) | ||
|
||
plugins { | ||
id("io.gitlab.arturbosch.detekt") version "1.0.0.RC8" | ||
id("io.gitlab.arturbosch.detekt") | ||
} | ||
|
||
dependencies { | ||
ext { | ||
plugins { | ||
id("com.android.application") | ||
id("kotlin-android") | ||
} | ||
apply(plugin = ("kotlin-kapt")) | ||
apply(plugin = ("kotlin-android-extensions")) | ||
|
||
dependencies { | ||
classpath("com.android.tools.build:gradle:3.4.0-alpha10") | ||
classpath(kotlin("gradle-plugin", version = "$KOTLIN_VERSION")) | ||
classpath("com.bmuschko:gradle-nexus-plugin:2.3.1") | ||
classpath("com.github.ben-manes:gradle-versions-plugin:0.20.0") | ||
} | ||
|
||
// this should not be converted to block, like the first ones | ||
apply(plugin = ("gms")) | ||
|
||
plugins { | ||
id("io.gitlab.arturbosch.detekt") version "1.0.0.RC8" | ||
id("io.gitlab.arturbosch.detekt") | ||
} | ||
|
||
dependencies { | ||
ext { | ||
val test = "1.0.1" | ||
} | ||
val highdef = "1.1.0" | ||
val testing = "1.0.2" | ||
implementation(rootProject.deps.androidPagingComponent) | ||
implementation(project(":customer-api")) // comment! | ||
kapt(project(":epoxy-processor")) | ||
implementation(":epoxy-annotations") | ||
val ANDROIDX_APPCOMPAT = "1.0.0" | ||
implementation("androidx.appcompat:appcompat:$ANDROIDX_APPCOMPAT") | ||
testImplementation("com.randomDependency:1.0.0") | ||
compileOnly(group = "commons-io", name = "commons-io", version = "2.6") | ||
testCompileOnly(group = "org.apache.commons", name = "commons-math3", version = "3.6.1") | ||
} | ||
|
||
testImplementation(group = "junit", name = "junit", version = "4.12") | ||
|
||
configurations.classpath { | ||
exclude(group = "com.android.tools.external.lombok") | ||
} | ||
|
||
implementation(kotlin("stdlib", KotlinCompilerVersion.VERSION)) | ||
implementation(kotlin("stdlib", KotlinCompilerVersion.VERSION)) | ||
|
||
classpath(kotlin("gradle-plugin", version = "$kotlin_version")) | ||
classpath(kotlin("gradle-plugin", version = "1.3.20")) | ||
|
||
implementation(kotlin("reflect")) | ||
testImplementation(kotlin("test")) | ||
testImplementation(kotlin("test-junit")) | ||
|
||
include(":app", ":diffutils") | ||
|
||
include( | ||
":common", | ||
":server", | ||
":app", ":core", ":core-model", ":core-data", ":core-ui", | ||
":shared", ":shared-scouting", | ||
":feature-teams", ":feature-autoscout", | ||
":feature-scouts", ":feature-templates", ":feature-settings", | ||
":feature-exports" | ||
) | ||
|
||
androidExtensions { | ||
isExperimental = true | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
jcenter() | ||
maven("https://jitpack.io") | ||
maven("https://maven.fabric.io/public") | ||
maven("https://dl.bintray.com/kotlin/kotlin-eap") | ||
} | ||
} | ||
|
||
compileSdkVersion(28) | ||
|
||
defaultConfig { | ||
applicationId = "com.bernaferrari.sdkmonitor" | ||
minSdkVersion(21) | ||
targetSdkVersion(28) | ||
versionCode = 4 | ||
versionName = "0.4" | ||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
buildTypes { | ||
named("release"){ | ||
isDebuggable = false | ||
isMinifyEnabled = true | ||
isShrinkResources = true | ||
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")) | ||
signingConfig = signingConfigs.getByName("release") | ||
} | ||
named("debug"){ | ||
isDebuggable = true | ||
extra["alwaysUpdateBuildId"] = false | ||
extra["enableCrashlytics"] = false | ||
} | ||
} | ||
signingConfigs { | ||
register("release"){ | ||
storeFile = file(RELEASE_STORE_FILE) | ||
storePassword = RELEASE_STORE_PASSWORD | ||
keyAlias = RELEASE_KEY_ALIAS | ||
keyPassword = RELEASE_KEY_PASSWORD | ||
} | ||
} | ||
kapt { | ||
correctErrorTypes = true | ||
} | ||
android { | ||
lintOptions { | ||
isAbortOnError = false | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
dataBinding { | ||
isEnabled = true | ||
} | ||
|
||
tasks.register<Delete>("clean").configure { | ||
delete(rootProject.buildDir) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dist/* | ||
.cache | ||
public | ||
node_modules | ||
*.esm.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/eslintrc", | ||
"root": true, | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"prettier", | ||
"plugin:tailwindcss/recommended" | ||
], | ||
"plugins": ["tailwindcss"], | ||
"rules": { | ||
"@next/next/no-html-link-for-pages": "off", | ||
"react/jsx-key": "off", | ||
"tailwindcss/no-custom-classname": "off" | ||
}, | ||
"settings": { | ||
"tailwindcss": { | ||
"callees": ["cn"], | ||
"config": "tailwind.config.js" | ||
}, | ||
"next": { | ||
"rootDir": ["./"] | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"parser": "@typescript-eslint/parser" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
||
# testing | ||
coverage | ||
|
||
# next.js | ||
.next/ | ||
out/ | ||
build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# turbo | ||
.turbo | ||
|
||
.contentlayer | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
cache | ||
.cache | ||
package.json | ||
package-lock.json | ||
public | ||
CHANGELOG.md | ||
.yarn | ||
dist | ||
node_modules | ||
.next | ||
build | ||
.contentlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"typescript.tsdk": "../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# next-template | ||
|
||
A Next.js 13 template for building apps with Radix UI and Tailwind CSS. | ||
|
||
## Usage | ||
|
||
```bash | ||
npx create-next-app -e https://github.com/shadcn/next-template | ||
``` | ||
|
||
## Features | ||
|
||
- Next.js 13 App Directory | ||
- Radix UI Primitives | ||
- Tailwind CSS | ||
- Icons from [Lucide](https://lucide.dev) | ||
- Dark mode with `next-themes` | ||
- Tailwind CSS class sorting, merging and linting. | ||
|
||
## License | ||
|
||
Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md). |
Oops, something went wrong.