Skip to content

Commit

Permalink
Add execution permission to gradlew
Browse files Browse the repository at this point in the history
  • Loading branch information
dinukaamarasinghe817 committed Mar 1, 2024
1 parent 6cedb60 commit f4e04ec
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 32 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ on: pull_request

jobs:
call_workflow:
name: Run PR Build Workflow
if: ${{ github.repository_owner == 'ballerina-platform' }}
uses: ballerina-platform/ballerina-library/.github/workflows/pull-request-build-template.yml@main
with:
additional-windows-test-flags: "-x test"
- name: Set Permissions for gradlew
run: chmod +x ./gradlew
- name: Run PR Build Workflow
if: ${{ github.repository_owner == 'ballerina-platform' }}
uses: ballerina-platform/ballerina-library/.github/workflows/pull-request-build-template.yml@main
with:
additional-windows-test-flags: "-x test"
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@
*/

plugins {
id "com.github.spotbugs" version "${githubSpotbugsVersion}"
id "com.github.johnrengelman.shadow" version "${githubJohnrengelmanShadowVersion}"
id "de.undercouch.download" version "${underCouchDownloadVersion}"
id "net.researchgate.release" version "${researchgateReleaseVersion}"
id 'com.github.spotbugs'
id 'com.github.johnrengelman.shadow'
id 'de.undercouch.download'
id 'net.researchgate.release'
id 'jacoco'
}

description = 'Ballerina - Persist'

def packageName = "persist.redis"

ext.ballerinaLangVersion = project.ballerinaLangVersion
ballerinaLangVersion = project.ballerinaLangVersion

allprojects {
group = project.group
Expand Down
31 changes: 12 additions & 19 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,29 @@ ballerinaGradlePluginVersion=2.0.1

ballerinaLangVersion=2201.8.2

# Direct Dependencies
# Dependencies
# Level 01
stdlibIoVersion=1.6.0
stdlibTimeVersion=2.4.0
stdlibUrlVersion=2.4.0
stdlibConstraintVersion=1.4.0

# Level 02
stdlibLogVersion=2.9.0
stdlibOsVersion=1.8.0
stdlibCryptoVersion=2.5.0
stdlibTaskVersion=2.5.0

# Level 03
stdlibFileVersion=1.9.0
stdlibCacheVersion=3.7.0
stdlibMimeVersion=2.9.0
stdlibUuidVersion=1.7.0

# Level 04
stdlibAuthVersion=2.10.0
stdlibJwtVersion=2.10.0
stdlibOAuth2Version=2.10.0

# Level 05
stdlibHttpVersion=2.10.0
Expand All @@ -39,24 +50,6 @@ stdlibPersistVersion=1.2.0
observeVersion=1.2.0
observeInternalVersion=1.2.0

# Transitive Dependencies
# Level 01
stdlibConstraintVersion=1.4.0

#Level 02
stdlibCryptoVersion=2.5.0
stdlibTaskVersion=2.5.0

# Level 03
stdlibCacheVersion=3.7.0
stdlibMimeVersion=2.9.0
stdlibUuidVersion=1.7.0

# Level 04
stdlibAuthVersion=2.10.0
stdlibJwtVersion=2.10.0
stdlibOAuth2Version=2.10.0

# Enabled publishing insecure checksums, due to fail to publish to maven central
# Refer https://github.com/gradle/gradle/issues/11308
systemProp.org.gradle.internal.publish.checksums.insecure=true
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml

This file was deleted.

Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
20 changes: 20 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@
* For more detailed information on multi-project builds, please refer to https://docs.gradle.org/8.5/userguide/building_swift_projects.html in the Gradle documentation.
*/

pluginManagement {
plugins {
id "com.github.spotbugs" version "${githubSpotbugsVersion}"
id "com.github.johnrengelman.shadow" version "${githubJohnrengelmanShadowVersion}"
id "de.undercouch.download" version "${underCouchDownloadVersion}"
id "net.researchgate.release" version "${researchgateReleaseVersion}"
}

repositories {
gradlePluginPortal()
maven {
url = 'https://maven.pkg.github.com/ballerina-platform/*'
credentials {
username System.getenv("packageUser")
password System.getenv("packagePAT")
}
}
}
}

plugins {
id "com.gradle.enterprise" version "3.13.2"
}
Expand Down

0 comments on commit f4e04ec

Please sign in to comment.