-
Notifications
You must be signed in to change notification settings - Fork 0
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 #9 from UbiqueInnovation/feature/no-extension-import
avoids the need to import extension properties
- Loading branch information
Showing
4 changed files
with
17 additions
and
14 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
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
13 changes: 13 additions & 0 deletions
13
alpaka/plugin/src/main/java/org/gradle/kotlin/dsl/AlpakaDsl.kt
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,13 @@ | ||
package org.gradle.kotlin.dsl | ||
|
||
import ch.ubique.gradle.alpaka.extensions.applicationvariant.getProperty | ||
import ch.ubique.gradle.alpaka.extensions.applicationvariant.setProperty | ||
import com.android.build.api.dsl.ApplicationVariantDimension | ||
|
||
var ApplicationVariantDimension.launcherIconLabel: String? | ||
get() = getProperty("launcherIconLabel") | ||
set(value) = setProperty("launcherIconLabel", value) | ||
|
||
var ApplicationVariantDimension.alpakaUploadKey: String? | ||
get() = getProperty("alpakaUploadKey") | ||
set(value) = setProperty("alpakaUploadKey", value) |
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