Skip to content

Commit

Permalink
Changing
Browse files Browse the repository at this point in the history
  • Loading branch information
Malikshahbaz213 committed Nov 29, 2023
1 parent 8b9c038 commit bf99cb3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")

}

android {
Expand Down Expand Up @@ -30,11 +31,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}
buildFeatures {
compose = true
Expand Down Expand Up @@ -66,4 +67,5 @@ dependencies {
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")

}
21 changes: 19 additions & 2 deletions inspirationlibrary/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
id("com.gradle.plugin-publish") version "1.1.0"
}

extra["PUBLISH_GROUP_ID"] = "io.github.shahbaz213"
extra["PUBLISH_GROUP_ID"] = "com.github.shahbaz213"
extra["PUBLISH_VERSION"] = "1.0"
extra["PUBLISH_ARTIFACT_ID"] = "inspirationlibrary"
extra["PUBLISH_DESCRIPTION"] = "An android gradle plugin for localization"
Expand Down Expand Up @@ -37,14 +37,31 @@ gradlePlugin {
vcsUrl.set(extra["PUBLISH_URL"] as String)
plugins {
create("InspirationAppPlugin") {
id = "io.github.shahbaz213.inspirationlibrary"
id = "com.github.shahbaz213.inspirationlibrary"
implementationClass = "com.app.inspirationlibrary.plugin.inspirationlibrary"
displayName = "LokaleNow Android Plugin"
description = "Android gradle plugin for app's localization"
tags.set(listOf("android", "locale","string"))
}
}
}

//afterEvaluate {
// publishing {
// publications {
// // Creates a Maven publication called "release".
// create<MavenPublication>("release") {
// // Applies the component for the release build variant.
// from(components["release"])
// // You can then customize attributes of the publication as shown below.
// groupId = "com.github.shahbaz213"
// artifactId = "inspirationlibrary"
// version = "1.0"
// }
// }
// }
//}

dependencies {

implementation("com.android.tools.build:gradle:7.4.0-rc03")
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencyResolutionManagement {
google()
mavenCentral()
mavenLocal()
gradlePluginPortal()
}
}

Expand Down

0 comments on commit bf99cb3

Please sign in to comment.