forked from timfreiheit/ResourcePlaceholdersPlugin
-
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.
Merge pull request #1 from extmkv/refactor
Refactored plugin to AGP and mordern gradle
- Loading branch information
Showing
24 changed files
with
329 additions
and
573 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins { | ||
alias(libs.plugins.kotlin) apply false | ||
alias(libs.plugins.application) apply false | ||
alias(libs.plugins.library) apply false | ||
alias(libs.plugins.androidGradleX) apply false | ||
alias(libs.plugins.resourcePlaceholders) apply false | ||
} |
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,10 @@ | ||
[versions] | ||
kotlin = "1.9.22" | ||
androidGradle = "8.2.2" | ||
|
||
[plugins] | ||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
application = { id = "com.android.application", version.ref = "androidGradle" } | ||
library = { id = "com.android.library", version.ref = "androidGradle" } | ||
androidGradleX = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } | ||
resourcePlaceholders = "pt.jcosta.resourceplaceholders:0.11.0" |
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,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
plugins { | ||
id("java-gradle-plugin") | ||
alias(libs.plugins.kotlin) | ||
id("maven-publish") | ||
id("com.gradle.plugin-publish") version "1.2.1" | ||
} | ||
|
||
group = "pt.jcosta.resourceplaceholders" | ||
version = "0.11.0" | ||
|
||
// Use java-gradle-plugin to generate plugin descriptors and specify plugin ids | ||
gradlePlugin { | ||
website = "https://github.com/timfreiheit/ResourcePlaceholdersPlugin" | ||
vcsUrl = "https://github.com/timfreiheit/ResourcePlaceholdersPlugin.git" | ||
|
||
plugins { | ||
plugins.register("resource-placeholders") { | ||
id = "pt.jcosta.resourceplaceholders" | ||
implementationClass = | ||
"de.timfreiheit.plugin.resourceplaceholders.ResourcePlaceholdersPlugin" | ||
displayName = "ResourcePlaceholdersPlugin" | ||
description = | ||
"Gradle plugin which adds support for \${placeholder} manifestPlaceholders in Android resource files" | ||
tags.set(listOf("android", "resource", "placeholders")) | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(gradleApi()) | ||
implementation(localGroovy()) | ||
implementation("com.android.tools.build:gradle:8.2.2") | ||
} |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.