-
Notifications
You must be signed in to change notification settings - Fork 1
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
Hussein Aladeen
committed
Jan 12, 2024
1 parent
fef6a95
commit aab8d5e
Showing
15 changed files
with
169 additions
and
204 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -87,3 +87,4 @@ lint/generated/ | |
lint/outputs/ | ||
lint/tmp/ | ||
# lint/reports/ | ||
.DS_Store |
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
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 |
---|---|---|
@@ -1,43 +1,13 @@ | ||
import com.husseinala.neon.Deps | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
buildscript { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath Deps.Android.GRADLE_PLUGIN | ||
classpath Deps.Kotlin.GRADLE_PLUGIN | ||
classpath Deps.MAVEN_PUBLISH | ||
classpath Deps.Kotlin.DOKKA | ||
|
||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
} | ||
|
||
plugins { | ||
id "com.diffplug.spotless" version "6.23.3" | ||
alias libs.plugins.android.application apply false | ||
alias libs.plugins.android.library apply false | ||
alias libs.plugins.kotlin.gradle apply false | ||
alias libs.plugins.maven.publish apply false | ||
alias libs.plugins.spotless apply false | ||
alias libs.plugins.dokka apply true | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
|
||
group = project.property("GROUP") as String | ||
version = project.property("VERSION_NAME") as String | ||
|
||
tasks.withType(KotlinCompile).configureEach { | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
} | ||
} | ||
} | ||
|
||
clean { | ||
delete rootProject.buildDir | ||
} |
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
buildSrc/src/main/java/com/husseinala/neon/Dependencies.kt
This file was deleted.
Oops, something went wrong.
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
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
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
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,48 @@ | ||
[versions] | ||
androidMinSdk = "21" | ||
androidCompileSdk = "34" | ||
androidTargetSdk = "34" | ||
|
||
androidGradlePlugin = "8.2.1" | ||
|
||
kotlin = "1.9.20" | ||
spotless = "6.23.3" | ||
ktlint = "1.1.1" | ||
mavenPublish = "0.27.0" | ||
dokka = "1.9.10" | ||
|
||
compose = "1.5.4" | ||
composeKotlinCompiler = "1.5.5" | ||
activityCompose = "1.8.2" | ||
|
||
ktx = "1.12.0" | ||
|
||
picasso = "2.8" | ||
picassoTransformations = "2.4.0" | ||
|
||
glide = "4.12.0" | ||
|
||
junit = "4.13.2" | ||
|
||
[plugins] | ||
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" } | ||
android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" } | ||
kotlin-gradle = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } | ||
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" } | ||
maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "mavenPublish" } | ||
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } | ||
|
||
[libraries] | ||
compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "compose" } | ||
compose-layout = { group = "androidx.compose.foundation", name = "foundation-layout", version.ref = "compose" } | ||
compose-material = { group = "androidx.compose.material", name = "material", version.ref = "compose" } | ||
|
||
androidx-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "ktx" } | ||
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" } | ||
|
||
picasso-core = { group = "com.squareup.picasso", name = "picasso", version.ref = "picasso" } | ||
picasso-transformations = { group = "jp.wasabeef", name = "picasso-transformations", version.ref = "picassoTransformations" } | ||
|
||
glide = { group = "com.github.bumptech.glide", name = "glide", version.ref = "glide" } | ||
|
||
testing-junit = { group = "junit", name = "junit", version.ref = "junit" } |
Oops, something went wrong.