-
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.
- Loading branch information
1 parent
12cbac2
commit 2f31eba
Showing
2 changed files
with
25 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ android { | |
compileSdk 34 | ||
defaultConfig { | ||
minSdk 23 | ||
versionName "1.2.1" | ||
versionName "1.2.2" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
consumerProguardFiles "consumer-rules.pro" | ||
} | ||
|
@@ -51,28 +51,30 @@ publishing { | |
afterEvaluate { | ||
from components.release | ||
} | ||
pom { | ||
name = "KTTestExpectation" | ||
description = "A simple Kotlin implementation of Swift's expectation" | ||
url = "https://github.com/danielepantaleone/KTTestExpectation" | ||
licenses { | ||
license { | ||
name = "MIT" | ||
url = "https://github.com/danielepantaleone/KTTestExpectation/blob/master/LICENSE" | ||
pom.withXml { | ||
def rootNode = asNode() | ||
rootNode.appendNode('name', 'KTTestExpectation') | ||
rootNode.appendNode('description', 'A simple Kotlin implementation of Swift\'s expectation') | ||
rootNode.appendNode('url', 'https://github.com/danielepantaleone/KTTestExpectation') | ||
def licensesNode = rootNode.appendNode('licenses') | ||
def licenseNode = licensesNode.appendNode('license') | ||
licenseNode.appendNode('name', 'MIT') | ||
licenseNode.appendNode('url', 'https://github.com/danielepantaleone/KTTestExpectation/blob/master/LICENSE') | ||
def developersNode = rootNode.appendNode('developers') | ||
def developerNode = developersNode.appendNode('developer') | ||
developerNode.appendNode('id', 'danielepantaleone') | ||
developerNode.appendNode('name', 'Daniele Pantaleone') | ||
developerNode.appendNode('email', '[email protected]') | ||
def dependenciesNode = rootNode.appendNode('dependencies') | ||
def configurationNames = ["implementation"] | ||
configurationNames.each { confName -> | ||
configurations[confName].allDependencies.each { | ||
def dependencyNode = dependenciesNode.appendNode('dependency') | ||
dependencyNode.appendNode('groupId', it.group) | ||
dependencyNode.appendNode('artifactId', it.name) | ||
dependencyNode.appendNode('version', it.version) | ||
} | ||
} | ||
developers { | ||
developer { | ||
id = "danielepantaleone" | ||
name = "Daniele Pantaleone" | ||
email = "[email protected]" | ||
} | ||
} | ||
scm { | ||
connection = "https://github.com/danielepantaleone/KTTestExpectation.git" | ||
developerConnection = "https://github.com/danielepantaleone/KTTestExpectation.git" | ||
url = "https://github.com/danielepantaleone/KTTestExpectation" | ||
} | ||
} | ||
} | ||
} | ||
|